Change of names

This commit is contained in:
Guido van Rossum 1992-05-19 13:51:32 +00:00
parent f628a985ff
commit c99a4f900d
1 changed files with 2 additions and 2 deletions

View File

@ -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: