Socket Options

Glynn Clements glynn.clements at virgin.net
Mon Jun 28 12:08:44 EDT 2004


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 <glynn.clements at virgin.net>


More information about the Glasgow-haskell-users mailing list