timeoutsocket - error 10022
burkhard.kayser at freenet.de
Tue Feb 6 22:06:15 CET 2001
I want to user timeoutsocket together with telnetlib.
File "F:\PythonScripts\tn.py", line 13, in ?
tn = telnetlib.Telnet(HOST)
File "f:\python20\lib\telnetlib.py", line 122,
File "f:\python20\lib\telnetlib.py", line 139, in open
File "f:\python20\lib\timeoutsocket.py", line 210, in connect
File "f:\python20\lib\timeoutsocket.py", line 182, in connect
File "<string>", line 1, in connect
error: (10022, 'Invalid argument')
I seems that the value of addr is incorrect.
But if I test the script in by stepping through the code it works.
I'm running ActivePython build 202.
Has anyone had the same problem.
More information about the Python-list