printing addrs from getaddrinfo