#include <TCP.h>
Public Member Functions | |
| TCPClient * | GetNextConnection () |
| Returns the next client that is connecting, or 0 if none. | |
| uint16 | GetListenPort () const |
| Returns the local port that the server is listening on. | |
Static Public Member Functions | |
| static TCPServer * | Listen (uint16 port, bool openNatAutomatically=true) |
| Creates a new server to listen for TCP connections on a single port. | |
| static void | FreeServer (TCPServer *server) |
| Stops listening and frees a server. | |
1.5.6