Open
Description
In so_peek
, SO_RCVLOWAT is used when there is currently no data and the fd needs to be poll()
'd.
From socket(7) man page:
The select(2) and poll(2) system calls currently do not respect the 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 SO_RCVLOWAT bytes are available.
Are there platforms where this actually works?