lmsg/TCPSocket.hh

00001 /* -*- mode: c++; c-basic-offset: 4; -*- */
00002 #ifndef LMSG_TCPSOCKET_HH
00003 #define LMSG_TCPSOCKET_HH
00004 #include "lmsg/Socket.hh"
00005 
00006 namespace lmsg {
00007   class SocketPool;
00008 
00015   class TCPSocket : public Socket {
00016   private:
00021     TCPSocket(int s);
00022 
00023   public:
00030     TCPSocket(const MsgAddr* addr=0);
00031 
00035     ~TCPSocket(void);
00036 
00039     error_type waitConnect(wtime_type time, TCPSocket** ts=0);
00040 
00043     error_type listen(int nListen=1);
00044 
00045     error_type disconnect(void);
00046   };
00047 } // namespace lmsg
00048 
00049 #endif // LMSG_TCPSOCKET_HH

Generated on Sun Mar 8 19:20:50 2009 for dmt by  doxygen 1.5.4