Go to the source code of this file.
◆ HOST_NOT_FOUND
#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */ |
◆ NETDB_INTERNAL
#define NETDB_INTERNAL -1 /* see errno */ |
◆ NETDB_SUCCESS
#define NETDB_SUCCESS 0 /* no problem */ |
◆ NO_ADDRESS
#define NO_ADDRESS NO_DATA /* no address, look for MX record */ |
◆ NO_DATA
#define NO_DATA 4 /* Valid name, no data record of requested type */ |
◆ NO_RECOVERY
#define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */ |
◆ TRY_AGAIN
#define TRY_AGAIN 2 /* Non-Authoritative Host not found, or SERVERFAIL */ |
◆ gethostbyaddr()
struct hostent * gethostbyaddr |
( |
const void * | addr, |
|
|
int | len, |
|
|
int | type ) |
◆ gethostbyname()
struct hostent * gethostbyname |
( |
const char * | name | ) |
|
◆ h_errno