socket.connect timeout

Steve Holden sholden at holdenweb.com
Mon Jul 9 16:27:43 CEST 2001


"Twan van der Schoot" <twanvds at xs4all.nl> wrote in message
news:9icas4$lvp$1 at news1.xs4all.nl...
> Hi there,
>
> How do I increase the timeout period on a socket.connect()?
> A peek in the source code of the socket object does reveal anything
usefull.
>
>
> FWI: I'm using Python 2.1 from ActiveWare for WinNT (running on NT4.0SP6).
>
> thanks!
>
There's a module called timeoutsocket.py (take a look in the vaults of
Parnassus), which allows you much better control over the timeouts on your
sockets. Without this you can have problems.

regards
 Steve
--
http://www.holdenweb.com/








More information about the Python-list mailing list