
28 Jun
2004
28 Jun
'04
12:08 p.m.
Simon Marlow wrote:
The Linux socket(7) man page seems to say that you can't set SO_RCVTIMEO or SO_SNDTIMEO on Linux (but perhaps you can with a 2.6 kernel?).
I suspect that the manual page may be outdated. 2.4 implements those
options; at least, setsockopt stores the value in the "struct sock",
and getsockopt reads it from there, although I haven't checked whether
specific protocols honour those settings.
--
Glynn Clements