summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/finger.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sockets/finger.py')
-rwxr-xr-xDemo/sockets/finger.py2
1 files changed, 1 insertions, 1 deletions
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 @@ FINGER_PORT = 79
#
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)