Skip to content
Commit 81be0f6d authored by Robert Lubos's avatar Robert Lubos Committed by Carles Cufí
Browse files

net: sockets: tls: Switch DTLS to use non-blocking socket operations



As for TLS, switch to use non-blocking operations on underlying socket.
This is a bit tricker for DTLS, as there were not truly blocking bio
(binary input/output) function for DTLS, as timeout had to been
implemented. It is possible though to implement non-blocking mbedTLS bio
function instead, and handle timeout outside of mbedTLS context, which
has been done in this commit.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent ee48ddc2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment