VMS Help TCPIP Services, Programming Interfaces, Sockets API, gethostbyname() *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Searches the hosts database sequentially from the beginning for a host record with a given name or alias. This function also invokes the BIND resolver to query the appropriate name server if the information requested is not in the hosts database. The $QIO equivalent is the IO$_ACPCONTROL function with the INETACP_FUNC$C_GETHOSTBYNAME subfunction code. Format #include <netdb.h> struct hostent *gethostbyname ( char *name );
Additional Information (explode) :
|