MPMA Framework 0.4
Public Member Functions | Static Public Member Functions
NET::TCPServer Class Reference

Listens for new connections and spawns a TCPClient to recieve them. More...

#include <TCP.h>

List of all members.

Public Member Functions

TCPClientGetNextConnection ()
 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 TCPServerListen (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.

Detailed Description

Listens for new connections and spawns a TCPClient to recieve them.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends