def serve_in_child(sock):
 if (os.fork() == 0):
  try:
   serve_socket(sock)
  finally:
   sys.exit()

def serve_in_child ( sock ) : if ( os . fork ( ) == 0 ) : try : serve_socket ( sock ) finally : sys . exit ( )
forks a child to run the server in .