def start_server(ip_address): """ Start the server and wait for a connection :param ip_address: ip address of the client :return .Server object """ server = Server() # This method ends when a connection is made server.start_server() return server