Moderator: igrr
For sample code, you can look in the same MyAPServer sketch, it has a Telnet TCPServer running there on port 23, along the HTTPServer, that is a good starting point.
Your quickest test would be that the MyAPClient sketch would send a existing Telnet command to MyAPServer such as "showip". If the client receive the answer, than you will understand the whole messaging process.