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

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:

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.


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
Please read the FAQ at

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