mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* SO_RCVLOWAT option to socket()
@ 2004-12-10  4:06 Rob Sanders
  2004-12-10 21:02 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Sanders @ 2004-12-10  4:06 UTC (permalink / raw)
  To: linux-kernel

Hey y'all,
    Can anyone point me to a resource for why SO_RCVLOWAT is hardcoded 
to 1 in linux?
If you are using select or poll with timeouts it would be less costly 
to have the kernel tell you
when all of the data you reqested (via SO_RCVLOWAT) is ready to be read 
instead of putting
your select/poll followed by read inside a loop to handle any partial 
data deliveries.  I've got some
code that uses SO_RCVLOWAT running under OS X, and it should run under 
Tru64, but doesn't
do what I want under Linux.  The socket man page indicates that 
SO_RCVLOWAT is hardcoded to 1.
   Please respond to me offline if possible, I don't have the time or 
resources right now to handle the
full subscription to this mailing list.  Thank you.

						Rob

						rarob
						at
						comcast
						dot
						net


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-10 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-10  4:06 SO_RCVLOWAT option to socket() Rob Sanders
2004-12-10 21:02 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome