(self)
Serves all requests and replies for as long as the connection is 
        alive.
Serves all requests and replies for as long as the connection is 
        alive.
Serves all requests and replies for as long as the connection is alive .
def serve_all(self):
        """Serves all requests and replies for as long as the connection is 
        alive."""
        try:
            while True:
                self.serve(0.1)
        except (socket.error, select_error, IOError):
            if not self.closed:
                raise
        except EOFError:
            pass
        finally:
            self.close()
def serve_all ( self ) : try : while True : self . serve ( 0.1 ) except ( socket . error , select_error , IOError ) : if not self . closed : raise except EOFError : pass finally : self . close ( )