9 #ifndef CServerTCPSocket_H
10 #define CServerTCPSocket_H
21 class CClientTCPSocket;
39 unsigned short listenPort,
41 int maxConnectionsWaiting = 50,
42 mrpt::utils::VerbosityLevel verbosityLevel = mrpt::utils::LVL_INFO
57 #ifdef MRPT_OS_WINDOWS
69 unsigned short listenPort,
71 int maxConnectionsWaiting );
A TCP socket that can be connected to a TCP server, implementing MRPT's CStream interface for passing...
A TCP socket that can be wait for client connections to enter.
CServerTCPSocket(unsigned short listenPort, const std::string &IPaddress=std::string("127.0.0.1"), int maxConnectionsWaiting=50, mrpt::utils::VerbosityLevel verbosityLevel=mrpt::utils::LVL_INFO)
Constructor that creates the socket, performs binding, and start listening mode.
std::string getLastErrorStr()
Returns a description of the last Sockets error.
int m_serverSock
The handle for the listening server TCP socket.
virtual ~CServerTCPSocket()
Dtor.
GLsizei const GLchar ** string
std::string BASE_IMPEXP getLastSocketErrorStr()
Returns a description of the last Sockets error.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.