1#ifndef _SASL_NETINET_IN_H 2#define _SASL_NETINET_IN_H 3 4struct hostent { 5 char *h_name; /* official name of host */ 6 char **h_aliases; /* alias list */ 7 int h_addrtype; /* host address type */ 8 int h_length; /* length of address */ 9 char **h_addr_list; /* list of addresses from name server */ 10#define h_addr h_addr_list[0] /* address, for backward compatiblity */ 11}; 12 13struct hostent *gethostbyname(const char *hnam); 14 15#define IPPROTO_UDP 17 16#define IPPROTO_TCP 6 17#endif 18