int inet_pton(int af, const char *src, void *dst)
Converts an IP address string representation to a byte-represented IP address.
const char * inet_ntop(int af, const void *restrict src, char *restrict dst, socklen_t size)
Converts an IP address to its string representation.