BMA Server Framework
/home/barant/Development/BMA/server_core/ServerCore/TCPSocket.h
1 #ifndef __TCPSocket_h__
2 #define __TCPSocket_h__
3 
4 #include "includes"
5 #include "Socket.h"
6 #include "IPAddress.h"
7 
8 namespace core {
9 
19 
20  class TCPSocket : public Socket {
21 
22  public:
23 
24  TCPSocket(EPoll &ePoll);
25  ~TCPSocket();
26 
27  void connect(IPAddress &address);
28 
29  IPAddress ipAddress;
30 
37 
38  virtual void output(std::stringstream &out);
39 
40  };
41 
42 }
43 
44 #endif
Definition: EPoll.h:31
Definition: Command.cpp:4
Definition: Socket.h:32
Definition: IPAddress.h:9
Definition: TCPSocket.h:20
virtual void output(std::stringstream &out)
Definition: TCPSocket.cpp:19