VgaGames 3 - Network man-pages

[.. upper level ..]

VG3_nw_server()

Start network-server.
SYNTAX
void VG3_nw_server(const char *svport)

FUNCTION PARAMETERS
svport UDP port or NULL = default port (1212)

DESCRIPTION
Start the network server in the background. This is the central server to which all clients connect to for interacting together. It uses UDP for data transfer with IPv4 or IPv6. At first it waits for connecting clients, where the timeout is 120 seconds receiving no connection. Then it runs handling the connected clients, where the timeout is 60 seconds receiving no data. After all clients has been disconnected, the server exits. This function may be called before calling VG3_window_new().