Functions
htonl()
# define htonl(host32) htonl(host32)
htons()
# define htons(host16) htons(host16)
ntohl()
# define ntohl(net32) ntohl(net32)
ntohs()
# define ntohs(net16) ntohs(net16)
inet_addr ()
in_addr_t
inet_addr (const char *cp
);
inet_aton ()
int
inet_aton (const char *cp
,
struct in_addr *addr
);
inet_ntoa ()
char *
inet_ntoa (struct in_addr in
);
inet_ntop ()
char const *
inet_ntop (int family
,
const void *src
,
char *dst
,
socklen_t size
);