This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author baikie
Recipients baikie, loewis, pitrou, vstinner
Date 2010-09-12.21:30:48
SpamBayes Score 0.0028910902
Marked as misclassified No
Message-id <20100912213045.GA4984@dbwatson.ukfsn.org>
In-reply-to <20100912194819.GA3701@dbwatson.ukfsn.org>
Content
I meant to say that FreeBSD provides the SUN_LEN macro, but it
turns out that Linux does as well, and its version behaves the
same as FreeBSD's.  The FreeBSD man pages state that the
terminating null is not part of the address:

http://www.freebsd.org/cgi/man.cgi?query=unix&apropos=0&sektion=0&manpath=FreeBSD+8.1-RELEASE&format=html

The examples in Stevens/Rago's "Advanced Programming in the Unix
Environment" also pass address lengths to bind(), etc. that do
not include the null.
History
Date User Action Args
2010-09-12 21:30:51baikiesetrecipients: + baikie, loewis, pitrou, vstinner
2010-09-12 21:30:48baikielinkissue8372 messages
2010-09-12 21:30:48baikiecreate