diff options
author | Guido van Rossum <guido@python.org> | 1992-05-19 13:51:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-05-19 13:51:32 (GMT) |
commit | c99a4f900d1feb2f3be88949b766bb81ca0ccf08 (patch) | |
tree | 831b64a207f4edcf08c3a0f5d27d274910079c84 /Demo/sockets/echosvr.py | |
parent | f628a985ffce3a027d76d7b271dc0c3d81892d30 (diff) | |
download | cpython-c99a4f900d1feb2f3be88949b766bb81ca0ccf08.zip cpython-c99a4f900d1feb2f3be88949b766bb81ca0ccf08.tar.gz cpython-c99a4f900d1feb2f3be88949b766bb81ca0ccf08.tar.bz2 |
Change of names
Diffstat (limited to 'Demo/sockets/echosvr.py')
-rwxr-xr-x | Demo/sockets/echosvr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sockets/echosvr.py b/Demo/sockets/echosvr.py index f245583..a0435b5 100755 --- a/Demo/sockets/echosvr.py +++ b/Demo/sockets/echosvr.py @@ -20,8 +20,8 @@ def main(): s = socket(AF_INET, SOCK_STREAM) s.bind('', port) s.listen(0) - conn, (host, remoteport) = s.accept() - print 'connected by', host, remoteport + conn, (remotehost, remoteport) = s.accept() + print 'connected by', remotehost, remoteport while 1: data = conn.recv(BUFSIZE) if not data: |