socket.getaddrinfo(host, port, family=0, socktype=0, proto=0, flags=0)