get the client to connect and respond to the server