NAME
====
vg_nw_senddata() - only master: send data for a client
SYNOPSIS
========
void vg_nw_senddata(int plno)
DESCRIPTION
===========
Every time the master has finished changing the values of the
network variables of a client (player-data), the call to vg_nw_senddata()
sends this data to the network-server.
As described in Understanding network,
the master
- calls vg_nw_recvkeys() for a player-number of a client
- examinates the keystrokes of the client and changes eventually the
client's network values
- calls vg_nw_senddata() for this client to update these values to
the network-server
plno is the number of a client-player.
This function is equivalent to vg_nw_sendcommon(), but for the player-data
instead of for the common-block.
Refer to Understanding network.
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_sendcommon()
vg_nw_setdead()
vg_nw_dumpsprite()
vg_nw_undumpsprite()
vg_nw_close()