nlGetServerHostname

nlGetServerHostname

nl

1998 12-06


NAME

nlGetServerHostname - Given an internet address (NL_HOST_INET_ADDR) get the hostname.


SYNOPSIS

int nlGetServerHostname(char *hostname, int hostname_length, NL_HOST_INET_ADDR address)

Given an internet address (NL_HOST_INET_ADDR) nlGetServerHostname() get the hostname. nlGetServerHostname() put the host name on hostname. return TRUE on success, and the string length of hostname will be hostname_length. On failure FALSE is return, _unknown_ will be the hostname.


ARGUMENTS


hostname the host name
hostname_length the string length of hostname
address the internet address