timeoutsocket won't timeout

Chris Liechti cliechti at gmx.net
Sat May 11 14:05:54 EDT 2002


Dan Polak <systhree at nospam.mailandnews.com> wrote in 
news:MPG.17477570e7f1237e989685 at newszilla.xs4all.nl:
> For the life of me I can't figure out why timeoutsocket (version 1.23) 
> will not timeout here.
> Any ideas?
...
>           (hostname, more, ip) = socket.gethostbyaddr(...)
...

because timeoutsocket does not touch that function (it only modifies 
socket.socket).
it is simply passed to the underlying OS function. unfortunately you don't 
have control over that.

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list