mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	Change of names
This commit is contained in:
		
							parent
							
								
									f628a985ff
								
							
						
					
					
						commit
						c99a4f900d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -20,8 +20,8 @@ def main():
 | 
				
			||||||
	s = socket(AF_INET, SOCK_STREAM)
 | 
						s = socket(AF_INET, SOCK_STREAM)
 | 
				
			||||||
	s.bind('', port)
 | 
						s.bind('', port)
 | 
				
			||||||
	s.listen(0)
 | 
						s.listen(0)
 | 
				
			||||||
	conn, (host, remoteport) = s.accept()
 | 
						conn, (remotehost, remoteport) = s.accept()
 | 
				
			||||||
	print 'connected by', host, remoteport
 | 
						print 'connected by', remotehost, remoteport
 | 
				
			||||||
	while 1:
 | 
						while 1:
 | 
				
			||||||
		data = conn.recv(BUFSIZE)
 | 
							data = conn.recv(BUFSIZE)
 | 
				
			||||||
		if not data:
 | 
							if not data:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue