Noted details of SO_SNBUF and SO_RCVBUF support for Unix domain sockets.

This commit is contained in:
Michael Kerrisk 2005-12-15 12:46:18 +00:00
parent 17805f5b31
commit f406c335ef
1 changed files with 17 additions and 2 deletions

View File

@ -101,7 +101,11 @@ a unique name in the abstract namespace will be generated automatically.
Expects an integer boolean flag.
.SH "(UN)SUPPORTED FEATURES"
On Linux, Unix domain sockets do not support the transmission of out-of-band data (the
The following paragraphs describe domain-specific details and
unsupported features of the sockets API for Unix domain sockets on Linux.
Unix domain sockets do not support the transmission of
out-of-band data (the
.B MSG_OOB
flag for
.BR send (2)
@ -109,10 +113,21 @@ and
.BR recv (2)).
The
.BR sned (2)
.BR send (2)
.B MSG_MORE
flag is not supported Unix domain sockets.
The
.B SO_SNDBUF
socket does have an effect for Unix domain sockets, but the
.B SO_RCVBUF
option does not.
For datagram sockets, the
.B SO_SNDBUF
value imposes an upper limit on the size of outgoing datagrams.
This limit is calculated as the doubled (see
.BR socket (7))
option value less 32 bytes used for overhead.
.SH "ANCILLARY MESSAGES"
Ancillary data is sent and received using