9 #ifndef CServerTCPSocket_H 10 #define CServerTCPSocket_H 20 class CClientTCPSocket;
30 #ifdef MRPT_OS_WINDOWS 33 unsigned int m_serverSock;
41 std::string getLastErrorStr();
47 unsigned short listenPort,
48 const std::string &IPaddress,
49 int maxConnectionsWaiting );
62 unsigned short listenPort,
63 const std::string &IPaddress = std::string(
"127.0.0.1"),
64 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.
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...