Author baikie
Recipients baikie, loewis, pitrou, vstinner
Date 2010-09-12.21:30:48
SpamBayes Score 0.00289109
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