[Python-bugs-list] [Bug #127992] This line used to work: sd.connect (routerlanip, 80)

noreply@sourceforge.net noreply@sourceforge.net
Sun, 07 Jan 2001 19:52:53 -0800


Bug #127992, was updated on 2001-Jan-07 19:52
Here is a current snapshot of the bug.

Project: Python
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: b-52
Assigned to : nobody
Summary: This line used to work: sd.connect (routerlanip, 80)

Details: 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

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=127992&group_id=5470