commit | a8d30d5d667b32b1b296c0926a0e80709bd6fab3 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Aug 25 15:38:41 2000 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Aug 25 15:38:41 2000 +0000 |
tree | a68f728c1c466ea08e04c3dcf08e2cafa2746132 | |
parent | 239f836c10425bb2514284dd4eb4fc63b206b587 [diff] [blame] |
update demo scripts to use addr tuples for bind and connect closes bug #111928
diff --git a/Demo/sockets/finger.py b/Demo/sockets/finger.py index b941d0e..0c2baed 100755 --- a/Demo/sockets/finger.py +++ b/Demo/sockets/finger.py
@@ -23,7 +23,7 @@ # def finger(host, args): s = socket(AF_INET, SOCK_STREAM) - s.connect(host, FINGER_PORT) + s.connect((host, FINGER_PORT)) s.send(args + '\n') while 1: buf = s.recv(1024)