VgaGames 3 - Network man-pages

[.. upper level ..]

VG3_nw_getclientinfo()

Return information of a client.
SYNTAX
int VG3_nw_getclientinfo(struct vg3_nwclient *nwclnt, int clnr, const char **name)

FUNCTION PARAMETERS
nwclnt Network-struct
clnr Client-number
name For returning pointer of name of client, or NULL.
The value is a pointer to a internal value and must not be freed.

RETURN VALUE
Returns 1 if the client is connected, else returns 0.

DESCRIPTION
Return information of a client, that is - whether it is still connected - the name of the client it passed at connecting

SEE ALSO
VG3_nw_numberofclients()