lkml.org 
[lkml]   [2000]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSO_RCVTIMEO and SO_SNDTIMEO implemented? manpage says no, kernel yes?
Hi,

I was reading the works of Stevens, and saw the very neat SO_RCVTIMEO and
SO_SNDTIMEO features mentioned. Socket.7 told me that these socket
options aren't implemented:

SO_RCVTIMEO and SO_SNDTIMEO
Specify the sending or receiving timeouts until
reporting an error. They are fixed to a protocol
specific setting in Linux and cannot be read or
written. Their functionality can be emulated using
alarm(2) or setitimer(2).

However, reading 2.4.0test10 net/core/sock.c appears to indicate that the
kernel at least does some of the work. Does anybody know if these socket
options work as they should under Linux, and if so, which versions?

I might even whip up a better entry for the manpage if given enough data.

Regards,

bert hubert

--
PowerDNS Versatile DNS Services
Trilab The Technology People
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:49    [W:0.031 / U:4.880 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site