Added text noting that select()/poll() do no respect SO_RCVLOWAT.

This commit is contained in:
Michael Kerrisk 2005-11-30 16:09:42 +00:00
parent a14245c218
commit d994d57949
1 changed files with 12 additions and 2 deletions

View File

@ -231,9 +231,19 @@ fails with the error
.BR SO_RCVLOWAT
is changeable
only since Linux 2.4.
.\" FIXME say something about the following?
.\" select(2) does not respect SO_RCVLOWAT
The
.BR select (2)
and
.BR poll (2)
system calls currently do not respect the
.B SO_RCVLOWAT
setting on Linux,
and mark a socket readable when even a single byte of data is available.
A subsequent read from the socket will block until
.BR SO_RCVLOWAT
bytes are available.
.\" See http://marc.theaimsgroup.com/?l=linux-kernel&m=111049368106984&w=2
.\" Tested on kernel 2.6.14 -- mtk, 30 Nov 05
.TP
.BR SO_RCVTIMEO " and " SO_SNDTIMEO
.\" Not implemented in 2.0.