Closed xiongyihui closed 5 years ago
As socket.gethostbyname() only supports IPv4, use socket.getaddrinfo() instead to support IPv6 address.
socket.gethostbyname()
socket.getaddrinfo()
Solve the issue #265
Thanks!
As
socket.gethostbyname()
only supports IPv4, usesocket.getaddrinfo()
instead to support IPv6 address.Solve the issue #265