For SSL_stateless() a return value of 1 indicates success and the <b>ssl</b> object will be set up ready to continue the handshake. A return value of 0 or -1 indicates failure. If the value is 0 then a HelloRetryRequest was sent. A value of -1 indicates any other error. User code may retry the SSL_stateless() call.</p>

<p>For DTLSv1_listen() a return value of &gt;= 1 indicates success. The <b>ssl</b> object will be set up ready to continue the handshake. the <b>peer</b> value will also be filled in.</p>

<