Message2846
This line used to work under 1.6:
sd.connect (routerlanip, 80)
Now it returns the following error:
Traceback (most recent call last):
File "linksysdynhostsync.py", line 89, in ?
sd.connect (routerlanip, 80)
File "<string>", line 1, in connect
TypeError: connect requires exactly 1 argument; 2 given
The "sd" object is opened as follows:
sd = socket.socket (socket.AF_INET, socket.SOCK_STREAM)
The variable "routerlanip" is set to an IP address e.g. 10.0.0.1
HELP |
|
Date |
User |
Action |
Args |
2007-08-23 13:52:37 | admin | link | issue227992 messages |
2007-08-23 13:52:37 | admin | create | |
|