mirror of https://github.com/mkerrisk/man-pages
socket.7: select()/poll()/epoll honor SO_RCVLOWAT since Linux 2.6.28
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
defef3518e
commit
44a0081973
|
@ -764,15 +764,19 @@ fails with the error
|
|||
.B SO_RCVLOWAT
|
||||
is changeable
|
||||
only since Linux 2.4.
|
||||
The
|
||||
.BR select (2)
|
||||
.IP
|
||||
Before Linux 2.6.28
|
||||
.\" commit c7004482e8dcb7c3c72666395cfa98a216a4fb70
|
||||
.BR select (2),
|
||||
.BR poll (2),
|
||||
and
|
||||
.BR poll (2)
|
||||
system calls currently do not respect the
|
||||
.BR epoll (7)
|
||||
did 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
|
||||
and indicated a socket as readable when even a single byte of data
|
||||
was available.
|
||||
A subsequent read from the socket would then block until
|
||||
.B SO_RCVLOWAT
|
||||
bytes are available.
|
||||
.\" See http://marc.theaimsgroup.com/?l=linux-kernel&m=111049368106984&w=2
|
||||
|
|
Loading…
Reference in New Issue