Structures and interfaces according to the BSD netdb.h file. More...
#include <sys/types.h>
Data Structures | |
struct | hostent |
Structure returned by network data base library. More... | |
Defines | |
#define | h_addr h_addr_list[0] |
Address, for backward compatiblity. | |
Host entry address types definitions. | |
#define | HOST_NOT_FOUND 1 |
Authoritative Answer Host not found address type. | |
#define | TRY_AGAIN 2 |
Non-Authoritive Host not found, or SERVERFAIL address type. | |
#define | NO_RECOVERY 3 |
Non recoverable errors, FORMERR, REFUSED, NOTIMP address type. | |
#define | NO_DATA 4 |
Valid name, no data record of requested type address type. | |
#define | NO_ADDRESS NO_DATA |
No address, look for MX record address type. |
Structures and interfaces according to the BSD netdb.h file.
#define h_addr h_addr_list[0] |
Address, for backward compatiblity.