diff options
-rwxr-xr-x | Demo/sockets/echosvr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/echosvr.py b/Demo/sockets/echosvr.py index d4a23f0..fbe3eb7 100755 --- a/Demo/sockets/echosvr.py +++ b/Demo/sockets/echosvr.py @@ -19,7 +19,7 @@ def main(): port = ECHO_PORT s = socket(AF_INET, SOCK_STREAM) s.bind('', port) - s.listen(0) + s.listen(1) conn, (remotehost, remoteport) = s.accept() print 'connected by', remotehost, remoteport while 1: |