d receiving data</h2>

<p>Once the handshake is complete we are able to send and receive application data. Exactly what data is sent and in what order is usually controlled by some application level protocol. In this example we are using HTTP 1.0 which is a very simple request and response protocol. The client sends a request to the server. The server sends the response data and then immediately closes down the connection.</p>

<p>To send data to the server we use the <a href="../man3/SSL_write_ex.html">SSL