[411] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Missing socket options?

daemon@ATHENA.MIT.EDU (Jeff Noxon)
Fri Jun 2 12:08:21 1995

From: Jeff Noxon <jeff@mrsagw.mrsa.com>
To: linux-net@vger.rutgers.edu
Date: Fri, 2 Jun 1995 09:19:43 +1030 (???)

I've noticed that several socket options mentioned in the manpages are
missing from Linux, at least in my libc version (4.6.27):

SO_SNDLOWAT
SO_RCVLOWAT
SO_SNDTIMEO
SO_RCVTIMEO
etc...

They are mentioned in getsockopt(2).

I am currently involved in writing a large networking application for
a Fortune 5 company, and it needs to run under Linux 1.2 (primary importance)
and AIX 3.2 (as a backup system).  Life would be great if Linux supported
these options.  AIX does, by the way...

Any chance they'll come along?  I'm working around the timeouts by using
SIGALRM, but I want a way to guarantee that a read on a tcp connection will
block until the full requested amount is received, or until the timeout
elapses.  The manpage for recv() indicates that it might return with
a partial amount of the data requested. 

Then again, maybe it's just time to update the manpages.  :)

Thanks
Jeff

home help back first fref pref prev next nref lref last post