You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, hostnames only resolve to IPv4 addresses, as documented in the "Known Issues" section in the README. They should be able to resolve to IPv6 addresses as well as IPv4, and the IPv6 returns handled by the appropriate IPv6 logic in getmac.
The obvious solution is to use socket.getaddrinfo instead of socket.gethostbyname to resolve a hostname to an IP address, it just needs to be implemented and tested.
The text was updated successfully, but these errors were encountered:
Currently, hostnames only resolve to IPv4 addresses, as documented in the "Known Issues" section in the README. They should be able to resolve to IPv6 addresses as well as IPv4, and the IPv6 returns handled by the appropriate IPv6 logic in getmac.
The obvious solution is to use
socket.getaddrinfo
instead ofsocket.gethostbyname
to resolve a hostname to an IP address, it just needs to be implemented and tested.The text was updated successfully, but these errors were encountered: