A Telnet question

Bill Scherer Bill.Scherer at VerizonWireless.com
Thu Feb 1 19:27:04 EST 2001


Get timeoutsocket from:

http://www.timo-tasi.org/python/timeoutsocket.py


Burkhard Kayser 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.
> 
> Has onyone an idea ?
> 
> Thanks
> 
> --
> http://mail.python.org/mailman/listinfo/python-list

-- 
William K. Scherer
Sr. Member of Applications Staff - Verizon Wireless
Bill.Scherer_at_VerizonWireless.com




More information about the Python-list mailing list