VgaGames4

VgaGames4 - network man-pages

[.. upper level ..]

# vg4->nw->set_ports()

Set UDP-ports for server or client.

SYNTAX
void vg4->nw->set_ports(int svport, int mbport)
FUNCTION PARAMETERS

svport | UDP-port for network-server, or 0 = default port
mbport | UDP-port for multicast-/broadcast-server, or 0 = default port

DESCRIPTION
Set UDP-ports for server or client. For the server this function sets the listening UDP-ports if started with vg4->nw->server(). For the client this function sets the connecting UDP-ports. This function is only needed if non-default ports are used. Default UDP-ports are for - network-server: 1212 - multicast-/broadcast-server: 1211
SEE ALSO
command vg4_nw_server vg4->nw->server() vg4->nw->connect()