Returns information about a host, given its name.
#include <netdb.h> struct hostent *gethostbyname ( const char *name);
(IN) Points to the official name of the host or an alias.
If successful, returns a pointer to a structure of type hostent. Otherwise, returns NULL and sets h_errno to the following:
The gethostbyname function accepts a pointer to a character string representing a hostname. If the name is a numeric address string for IP, it must be in dotted-decimal notation.
Calling any database routine overwrites the results of the last routine that this NLMâ„¢ application called.