asynchat connection timeout
Brian Gough
bjg at network-theory.co.uk
Fri Aug 27 04:56:19 EDT 2004
Josh Close <narshe at gmail.com> writes:
> I'm using asynchat and I'm getting an error
>
> error: (110, 'Connection timed out')
>
> This is ok, but how do I set what the timeout is?
It is built on the socket module, which has these methods:
socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
--
Brian Gough
Network Theory Ltd,
Publishing the Python Manuals --- http://www.network-theory.co.uk/python/
More information about the Python-list
mailing list