9 #ifndef CServerTCPSocket_H 10 #define CServerTCPSocket_H 21 class CClientTCPSocket;
31 #ifdef MRPT_OS_WINDOWS 34 unsigned int m_serverSock;
48 unsigned short listenPort,
49 const std::string &IPaddress,
50 int maxConnectionsWaiting );
63 unsigned short listenPort,
64 const std::string &IPaddress = std::string(
"127.0.0.1"),
65 int maxConnectionsWaiting = 50,
A TCP socket that can be wait for client connections to enter.
int m_serverSock
The handle for the listening server TCP socket.
std::string BASE_IMPEXP getLastSocketErrorStr()
Returns a description of the last Sockets error.
std::string getLastErrorStr()
Returns a description of the last Sockets error.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A TCP socket that can be connected to a TCP server, implementing MRPT's CStream interface for passing...
This base class provides a common printf-like method to send debug information to std::cout...