How to catch socket timeout?

Ed newsmaster at eris.qinetiq.com
Wed Sep 24 08:37:11 EDT 2003


Have a look at:

http://www.nongnu.org/bothans/pydoc/common.timeoutsocket.html

Paul wrote:

> What's the best way to do this under Python 2.1?
> I believe socket.timeout was a 2.3 feature.
> Wrap it in threads?
> 
> I'd like to do something similar for the Gibraltar
> Linux firewall CD, but it only comes with Python 2.1.
> 
> Many thanks in advance.
> 
> -- Paul





More information about the Python-list mailing list