nitiate the connection shutdown process via <a href="../man3/SSL_shutdown.html">SSL_shutdown(3)</a>.</p>

<p>Since our application is initiating the shutdown then we might expect to see <a href="../man3/SSL_shutdown.html">SSL_shutdown(3)</a> give a return value of 0, and then we should continue to call it until we receive a return value of 1 (meaning we have successfully completed the shutdown). Since we are using a nonblocking <b>SSL</b> object we might expect to have to retry this operation several times.