g mode (the default is blocking mode). To do that we use the <a href="../man3/SSL_set_blocking_mode.html">SSL_set_blocking_mode(3)</a> function:</p>

<pre><code>/*
 * The underlying socket is always nonblocking with QUIC, but the default
 * behaviour of the SSL object is still to block. We set it for nonblocking
 * mode in this demo.
 */
if (!SSL_set_blocking_mode(ssl, 0)) {
    printf(&quot;Failed to turn off blocking mode\n&quot;);
    goto end;
}</code></pre>

<p>Although the demo application that we are