A Telnet question

Burkhard Kayser burkhard.kayser at freenet.de
Thu Feb 1 15:37:29 EST 2001


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.

Has onyone an idea ?

Thanks






More information about the Python-list mailing list