Send messages to the server