The following are a client and server program that demonstrate a version of TCP ucase that uses TLS. As in the plaintext version, the client reads a line of text from stdin and sends this line to the server; the server than capitalizes the line and sends it back to the client, who prints this line. Once the user hits CTRL-d, the client closes its connection.
This zip file contains all of the source files as well as a Makefile.