John Levon writes: > On Tue, Oct 28, 2008 at 01:45:48PM -0400, Peter Memishian wrote: > > In principle that may be true, but in practice it's not. As you noted, > > sadly, important networking features like ancillary data are only > > available in an X/Open environment (this is on our list of things to fix), > > so you need to use _XOPEN_SOURCE -- but you have no desire to be stuck > > with strict conformance. > > Yes. And what I'm saying is that I've been told several times that this > is a bug not a feature.
It's actually a compatibility feature. The "new" ancillary data feature is not compatible with the old 4.2BSD msg_accrights, which was used only for file descriptor passing. Plus, the 'msghdr' structure itself is a different size. For that reason, we can't turn it on by default, at least for "normal" applications that link against -lsocket. It could potentially break those applications. We could do it for applcations that link against libc alone, though. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code