Here's the code for a client that can talk to the modem server. This client sends a string to the server, reads what the server sends back and prints it out.