b1ed852f36
wolfSSL remains agnostic to network socket behavior be it blocking or non-blocking. The non-blocking flag was meant for the default EmbedRecvFrom() callback for use with UDP to assist the timing of the handshake. 1. Deprecate wolfSSL_set_using_nonblock() and wolfSSL_get_using_nonblock() for use with TLS sockets. They become don't-cares when used with TLS sessions. 2. Added functions wolfSSL_dtls_set_using_nonblock() and wolfSSL_dtls_get_using_nonblock(). 3. Removed a test case from EmbedReceive() that only applied to UDP. 4. Removed the checks for non-blocking sockets from EmbedReceive(). 5. Socket timeouts only apply to DTLS sessions.