setsockopt and SO_RCV/SNDTIMEO

Lefteris Tsintjelis lefty at ene.asda.gr
Fri Oct 7 08:17:11 PDT 2005


Gleb Smirnoff wrote:
> On Fri, Oct 07, 2005 at 05:04:40PM +0300, Lefteris Tsintjelis wrote:
> L> >You are expecting wrong from these socket options. They do not specify
> L> >time after which socket should be closed, if no IO is done.
> L> 
> L> Is there any easy build in functionality for that?
> 
> Pardon, but I do not understand the question.

Is there any easy way to setup IO timeouts (read/write) for a socket to
close in case of inactivity?


More information about the freebsd-stable mailing list