[Python-Dev] More socket questions

Martin v. L÷wis martin@v.loewis.de
10 Apr 2003 22:35:17 +0200

Mihai Ibanescu <misa@redhat.com> writes:

> I propose that we use inet_aton to implement PySocket_inet_aton (am I 
> clever or what). The part that I don't know, how portable is this 
> function? Does it exist on Mac and Windows?

This is the tricky part of any such change: Nobody knows, and you have
to test it on a wide variety of platforms before it is
acceptable. That *atleast* includes Windows, OS X, and one or two
other flavours of Unix (Linux libc6 typically being one of them).