[Python-Dev] More socket questions

Guido van Rossum guido@python.org
Thu, 10 Apr 2003 16:38:58 -0400

> Since somebody mention inet_addr, here's something else that I can attempt 
> to fix if we agree on it.
> In python 2.2.2:
> socket.inet_aton("")
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> socket.error: illegal IP address string passed to inet_aton

Check out Python 2.3, it's been fixed there.

Unfortunately Windows only has inet_addr(), so it's still broken

--Guido van Rossum (home page: http://www.python.org/~guido/)