71 bool init(
int port_num);
Defines TCP server functions.
int getSrvrHandle() const
bool makeConnect()
connects to the remote host
int srvr_handle_
server handle. Every time a connection is made, the class generates a new handle for sending/receivin...
void setSrvrHandle(int srvr_handle_)
bool init(int port_num)
initializes TCP server socket. The connect method must be called following initialization in order to...