telnetlib/socket NT to unix

Christophe Delarue cdelarue at bigfoot.com
Fri May 17 09:29:45 EDT 2002


I am trying to use the telnetlib to connect onto a sun machine :
import telnetlib
t = telnetlib.Telnet()
t.open("134.64.118.175",23)
-> time out occurs ! at the self.sock.connect((host,port))

I tried it through a normal telnet :

If I send a Start->run->telnet, ask a connection to the same host, the
connection is ok.

Is there anybody have a solution to my pb ?
 
I'am under NT4.0 and python2.1



More information about the Python-list mailing list