#NEWLINE# def _listen_socket_loop( self , s , conn_handle ) : #NEWLINE# #INDENT# while True : #NEWLINE# #INDENT# ( sock , client_address ) = s . accept ( ) #NEWLINE# ( client_address , port ) = self . get_remotename ( sock ) #NEWLINE# LOG . debug ( 'Connect request received from client for port %s:%s' , client_address , port ) #NEWLINE# client_name = ( ( self . name + '_client@' ) + client_address ) #NEWLINE# self . _asso_socket_map [ client_name ] = port #NEWLINE# self . _spawn ( client_name , conn_handle , sock )