Classes | Functions | Variables

ana/test/ana_client.cpp File Reference

Client side chat application. More...

#include <iostream>
#include "ana.hpp"
Include dependency graph for ana_client.cpp:

Go to the source code of this file.

Classes

struct  connection_info
class  ChatClient

Functions

void show_help (char *const command)
int main (int argc, char **argv)

Variables

const port DEFAULT_PORT = "2000"
const char *const DEFAULT_ADDRESS = "127.0.0.1"
const char *const DEFAULT_NAME = "Unnamed"

Detailed Description

Client side chat application.

Example for the ana project.

ana: Asynchronous Network API. Copyright (C) 2010 - 2012 Guillermo Biset.

This file is part of the ana project.

System: ana Language: C++

Author: Guillermo Biset E-Mail: billybiset AT gmail DOT com

ana is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

ana is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ana. If not, see <http://www.gnu.org/licenses/>.

Definition in file ana_client.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)
void show_help ( char *const   command  ) 

Definition at line 45 of file ana_client.cpp.

References DEFAULT_ADDRESS, DEFAULT_NAME, and DEFAULT_PORT.


Variable Documentation

const char* const DEFAULT_ADDRESS = "127.0.0.1"

Definition at line 41 of file ana_client.cpp.

const char* const DEFAULT_NAME = "Unnamed"

Definition at line 42 of file ana_client.cpp.

const port DEFAULT_PORT = "2000"

Definition at line 39 of file ana_client.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Tue May 22 2012 01:05:05 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs