[sane-devel] Setting a timeout for the net backend?

Julien BLACHE jb at jblache.org
Wed Oct 10 10:08:27 UTC 2007


Ryan <aguynamedryan at gmail.com> wrote:

Hi,

> Lastly, I'm willing to patch the net.c file to use the setsockopt  
> call to lower the SO_RCVTIMEO to a value defined in some environment  
> variable, say "SANE_NET_TIMEOUT".  The last option seems a bit  
> drastic, so I'm hoping there is a better/easier way.

That's the right thing to do. If you make a patch, please make that a
config option in net.conf :)

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the sane-devel mailing list