hostent Struct Reference

#include <stdapis/netdb.h>

struct hostent
Public Attributes
char **h_addr_list
inth_addrtype
char **h_aliases
inth_length
char *h_name

Detailed Description

Structures returned by network data base library. All addresses are supplied in host order, and returned in network order (suitable for use in system calls).

Member Attribute Documentation

h_addr_list

char **h_addr_list

list of addresses from name server

h_addrtype

inth_addrtype

host address type

h_aliases

char **h_aliases

alias list

h_length

inth_length

length of address

h_name

char *h_name

official name of host