Title: Running the Demo SSL Client and Server
Course: Introduction to SSL/PKI > Section: Demos

Running the Demo SSL Client and Server

When running the client and server, run the server first. It will wait for a connection from a client.

After the client as started enter some text (followed by a carriage return) in the client window. The text will be sent securely to the server and displayed in the server window. You can also sent text from the server to the client.

Note: The client and server are simple programs. There are situations when you send a message (text) and it does not appear on the receiver side. This is usually because the receiver is waiting for its text input to be completed before displaying what is has received.

On the client, entering a "q" (followed by a carriage return) will close the connection between the client and the server. (See the client and server documentation for more information.) After the disconnect the server will wait for another connection.