Skip to content

Commit

Permalink
Change of names
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed May 19, 1992
1 parent f628a98 commit c99a4f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Demo/sockets/echosvr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c99a4f9

Please sign in to comment.