#NEWLINE# def child_loop( index , parent_pipe ) : #NEWLINE# #INDENT# 'Main child loop.' #NEWLINE# while True : #NEWLINE# #INDENT# fd = read_fd ( parent_pipe ) #NEWLINE# conn = socket . fromfd ( fd , socket . AF_INET , socket . SOCK_STREAM ) #NEWLINE# handle ( conn ) #NEWLINE# conn . close ( ) #NEWLINE# os . close ( fd ) #NEWLINE# parent_pipe . send ( b'1' )