On 06/03/2019 10:51, Raja Ashok wrote: > Hi, > > When Nonblock IO failure happens on DTLSv1_listen() its returning 0. But > SSL_get_error() is not returning SSL_ERROR_WANT_READ. Instead it > returns SSL_ERROR_SYSCALL. > > Can someone tell its intentionally kept this behaviour ? You are not supposed to call SSL_get_error() after DTLSv1_listen(). See the DTLSv1_listen() documentation here: https://www.openssl.org/docs/man1.1.1/man3/DTLSv1_listen.html Matt