#include <tcpserver.hpp>
Collaboration diagram for MynahSA::TCPServer:

Public Member Functions | |
| TCPServer (TCPConnectionManager &sobj, int port) | |
| ~TCPServer () | |
| destructor - close master socket | |
| void | checkClients (int wait_t=0) |
Definition at line 31 of file tcpserver.hpp.
|
||||||||||||
|
TCPServer constructor - takes a ConnectionManager object and a port to operate on port - the port to answer requests on |
|
|
Check for new connections, block for wait_t amount of seconds, if no connection is made within wait_t function returns. This must be called regularly from within main |