A Telnet question
Greg Jorgensen
gregj at pobox.com
Thu Feb 1 19:54:34 EST 2001
timeout_socket is in the Vaults of Parnassus, here:
http://www.vex.net/parnassus/apyllo.py/126307487.528281449
and here:
http://www.cs.usyd.edu.au/~piers/python/
Other implementations have been discussed in this forum; search
for "socket timeout" to find them.
In article <95chjn$18n$02$1 at news.t-online.com>,
"Burkhard Kayser" <burkhard.kayser at freenet.de> wrote:
> Hi,
>
> I'm a newbie in python. My first application is based on telnetlib
and I've
> a problem with unreachable hosts.
>
> When I try to connect to a host, wich is currently not reachable,
> socket.connect(), wich is invoked by telnet.open(), times out after
some
> minutes. How can I change this timeout to some seconds ?
> I tried it under SuSE 7.0.
--
Greg Jorgensen
Portland, Oregon, USA
gregj at pobox.com
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list