Forget about using only IP addresses, let's make use of getaddrinfo() since it exists