VG3_nw_mbcast_getip()
Return for a client the ip-address of network-server.SYNTAX
char *
VG3_nw_mbcast_getip(char *remhost,
size_t remsize)
FUNCTION PARAMETERS
remhost | For returning hostname of remote host, or NULL |
remsize | Size of remhost, or 0 |
RETURN VALUE
Returns the ip-address of the network-server (allocated) or NULL on failure.
It has to be freed with free().
ERRORS
On error VG3_errmsg() returns:
ENOEXEC - error getting ip
DESCRIPTION
Return the ip-address of the network-server.
This function is used in a LAN by the clients.
The parameter remhost can be used to get the name of the server.
SEE ALSO