uint32_t htonl(uint32_t hostlong);
const char *inet_ntop(int af, const void *restrict src,
char dst[restrict .size], socklen_t size);
struct * in_addr with fields filled in.
struct in_addr
int getaddrinfo(const char *restrict node,
const char *restrict service,
const struct addrinfo *restrict hints,
struct addrinfo **restrict res);
struct addrinfo {
int ai_flags;
int ai_family;
int ai_socktype;
int ai_protocol;
socklen_t ai_addrlen;
struct sockaddr *ai_addr;
char *ai_canonname;
struct addrinfo *ai_next;
};