VgaGames4

VgaGames4 - network man-pages

[.. upper level ..]

# vg4->nw->get_ip()

Return internet-address of network-server.

SYNTAX
char * vg4->nw->get_ip(char *remhost, size_t remsize)
FUNCTION PARAMETERS

remhost | For returning remote hostname, if not NULL
remsize | Size of remhost

RETURN VALUE
Returns the IP of the network-server (must be freed with free()), or NULL = Error
DESCRIPTION
Return internet-address of network-server. If a client does not know the network-server IP, this function asks the broadcast-/multicast-server to get the IP.
SEE ALSO
vg4->nw->connect()