uint32_t in_addr_t
32-bit value used to store an IPv4 address.
Definition in.h:43
__uint32_t socklen_t
Socket length type.
Definition socket.h:39
uint32_t htonl(uint32_t value)
Convert a 32-bit value from host byte order to network byte order.
uint16_t ntohs(uint16_t value)
Convert a 16-bit value from network byte order to host byte order.
in_addr_t inet_addr(const char *cp)
Convert a string representation of an IPv4 address to an in_addr_t.
int inet_aton(const char *cp, struct in_addr *pin)
Convert a string representation of an IPv4 address to a struct in_addr.
const char * inet_ntop(int af, const void *src, char *dst, socklen_t size)
Convert a binary representation of an IP address to a string.
char * inet_ntoa(struct in_addr addr)
Convert a binary representation of an IPv4 address to a string.
int inet_pton(int af, const char *src, void *dst)
Convert a string representation of an IP address to its binary representation.
uint32_t ntohl(uint32_t value)
Convert a 32-bit value from network byte order to host byte order.
uint16_t htons(uint16_t value)
Convert a 16-bit value from host byte order to network byte order.
Definitions for the Internet address family.
Structure used to store an IPv4 address.
Definition in.h:49