Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Client.h

Go to the documentation of this file.
00001 #ifndef CLIENT_H_
00002 #define CLIENT_H_
00003 
00004 #include "SDL_net.h"
00005 
00006 class Client
00007 {
00008  public:
00009   Client(string n, TCPsocket s) { _name = n; _socket = s; }
00010   virtual ~Client() { }
00011 
00012   TCPsocket getSock() { return _socket; }
00013   string getName() { return _name; }
00014 
00015  protected:
00016   string _name;
00017   TCPsocket _socket;
00018 };
00019 
00020 #endif

Generated on Wed Apr 21 11:10:53 2004 for naturecalls by doxygen1.2.18