socket.getaddrinfo()
¶
-
socket.
getaddrinfo
(host, port [, family, socktype, proto, flags]) -> list of (family, socktype, proto, canonname, sockaddr)¶ -> list of (family, socktype, proto, canonname, sockaddr)
Resolve host and port into addrinfo struct.