Re:New features you can't use unless you are in Python 3
by pwdisswordfish on Thursday June 15, 2017 @04:25AM
(#14558725)
That doesn't seem to support IPv6 at all. And doesn't let you do much with a parsed address either.
just try: socket.inet_aton