NAME ==== vg_nw_recvinit() - only clients: receive initial data SYNOPSIS ======== int vg_nw_recvinit(void) DESCRIPTION =========== After defining network variables and setting pointers to them (see vg_nw_setvar(), vg_nw_getvar(), vg_nw_setcommon(), vg_nw_getcommon()), the master player sets initial values for the network variables (player-data and common-block) and sends them to the clients using vg_nw_sendinit(). The clients wait for this initial packet, receiving it with vg_nw_recvinit(). Refer to Understanding network. RETURN VALUE ============ Returns 0 if all is ok, or -1 if the network was closed. 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_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()