#include <NETDB.H>
Link against:
estlib.lib
_PATH_HEQUIV "/etc/hosts.equiv"
Description
_PATH_HOSTS "/etc/hosts"
Description
_PATH_NETWORKS "/etc/networks"
Description
_PATH_PROTOCOLS "/etc/protocols"
Description
_PATH_SERVICES "/etc/services"
Description
h_errno errno
Description
h_addr h_addr_list[0]
Description
NETDB_SUCCESS 0
Description
HOST_NOT_FOUND ENOENT
Description
TRY_AGAIN ETIMEDOUT
Description
NO_RECOVERY ECOMM
Description
NO_ADDRESS NO_DATA
Description
gethostbyaddr(const char *,int,int)
IMPORT_C struct hostent* gethostbyaddr(const char *, int, int);
Description
Get the internet name of the host by address.
Parameters
const char * |
Address of the host
|
int |
|
int |
|
|
Return value
gethostbyname(const char *)
IMPORT_C struct hostent* gethostbyname(const char *);
Description
Get the internet name of the host by name.
Parameters
const char * |
Name of the host
|
|
Return value