commit | 749908b9b6646216eacab2b542d0557a9fd36598 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Feb 28 09:25:38 1994 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Feb 28 09:25:38 1994 +0000 |
tree | 1d1f299d9962704f98293acd2a784c9d95025f77 | |
parent | ea6f6ed80c08eeeb467952d4672de12d84064593 [diff] [blame] |
listen(0) -> listen(1)
diff --git a/Demo/sockets/ftp.py b/Demo/sockets/ftp.py index f5bbdf5..1b672d3 100755 --- a/Demo/sockets/ftp.py +++ b/Demo/sockets/ftp.py
@@ -80,7 +80,7 @@ nextport = (nextport+1) % 16 r = socket(AF_INET, SOCK_STREAM) r.bind(gethostbyname(gethostname()), port) - r.listen(0) + r.listen(1) sendportcmd(s, f, port) return r