[Python-bugs-list] [ python-Bugs-643005 ] socket.inet_aton("255.255.255.255")
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 24 Nov 2002 01:15:06 -0800
Bugs item #643005, was opened at 2002-11-24 04:15
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=643005&group_id=5470
Category: Python Library
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Jp Calderone (kuran)
Assigned to: Nobody/Anonymous (nobody)
Summary: socket.inet_aton("255.255.255.255")
Initial Comment:
This comes up as an error on platforms with a 32 bit
in_addr_t type, because 0xFFFFFFFF -> -1 -> INADDR_ANY
-> error condition. socketmodule's inet_aton() should
probably be changed to use inet_aton if available (I'm
not sure how to make the appropriate platform checks,
or I'd submit a patch). It isn't clear to me the best
way to work around this on platforms lacking
inet_aton(), short of re-implementing its functionality.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=643005&group_id=5470