[issue1049] socket.socket.getsockname() has inconsistent UNIX/Windows behavior

Bill Janssen report at bugs.python.org
Thu Apr 10 01:28:19 CEST 2008


Bill Janssen <bill.janssen at gmail.com> added the comment:

Here's what the OS X man page says:

The getsockname() function returns the value 0 if successful; otherwise
the value -1 is returned and the global variable errno is set to
indicate the error.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1049>
__________________________________


More information about the Python-bugs-list mailing list