diff options
Diffstat (limited to 'Demo/sockets/rpythond.py')
-rwxr-xr-x | Demo/sockets/rpythond.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/rpythond.py b/Demo/sockets/rpythond.py index e8cdaa9..1109a99 100755 --- a/Demo/sockets/rpythond.py +++ b/Demo/sockets/rpythond.py @@ -19,7 +19,7 @@ def main(): else: port = PORT s = socket(AF_INET, SOCK_STREAM) - s.bind('', port) + s.bind(('', port)) s.listen(1) while 1: conn, (remotehost, remoteport) = s.accept() |