NAME ==== vg_nw_waitforconnects() - wait for all other connects SYNOPSIS ======== int vg_nw_waitforconnects(void) DESCRIPTION =========== After a successful connect to the network-server with vg_nw_connect() or, if you are the master player, with vg_nw_startserver() you have to wait for the connection of all other players. vg_nw_waitforconnects() returns, when all players are connected or the master player has terminated the waiting. The master player can terminate it (if he already has called vg_window_open()) by pressing the space key. RETURN VALUE ============ If it succeeds, it returns 0. If an error occurs, it returns -1, giving out an error message to stderr. SEE ALSO ======== Index Understanding network vg_nw_setplayer() vg_nw_startserver() vg_nw_connect() 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() vg_nw_close()