NAME ==== vg_nw_close() - close connection to network-server SYNOPSIS ======== void vg_nw_close(void) DESCRIPTION =========== Closes a connection to the network-server, opened with vg_nw_connect() (or vg_nw_startserver()). Then the player is gone and cannot connect anymore. If you are the master player, be careful not to close the connection before all virtual and client players are dead, too, because closing also causes the network-server to exit. When all players are disconnected, the network-server exits. It also exits, if it did not receive any update packets from any client after the timeout (see vg_nw_startserver(): parameter ptimo) is reached. RETURN VALUE ============ No value is returned. SEE ALSO ======== Index Understanding network vg_nw_setplayer() vg_nw_startserver() vg_nw_connect() vg_nw_waitforconnects() vg_nw_setvar() vg_nw_getvar() vg_nw_setcommon() vg_nw_getcommon() vg_nw_dumppacket() vg_nw_sendinit() vg_nw_recvinit() vg_nw_myplayer() vg_nw_maxplayer() vg_nw_virtualplayer() vg_nw_isalive() vg_nw_recvkeys() vg_nw_keypressed() vg_nw_mousepressed() vg_nw_mousex() vg_nw_mousey() vg_nw_senddata() vg_nw_sendcommon() vg_nw_setdead() vg_nw_dumpsprite() vg_nw_undumpsprite()