uint32_t inet_addr(const char *name)
Converts a number-and-dot notation internet address to network byte order form.
int inet_aton(const char *name, struct in_addr *addr)
Converts a number-and-dot notation internet address to binary form.
const char * inet_ntop(int af, const void *src, char *dst, socklen_t size)
Convert the network address in src to a character string in src.
char * inet_ntoa(struct in_addr addr)
Converts an address to textual representation.
uint32_t socklen_t
type of sockaddr lenth
Structure describing an Internet address.