[riot-notifications] [RIOT-OS/RIOT] sock_dtls: add timeout to sock_dtls_send and sock_dtls_session_create (#14043)

Aiman Ismail notifications at github.com
Wed May 13 15:24:38 CEST 2020

@pokgak commented on this pull request.

>   *
  * @return  0 on success
- * @return  -EAGAIN, if DTLS_HANDSHAKE_TIMEOUT is `0` and no data is available.
+ * @return  -EAGAIN, if @p timeout is `0` and handshake started.

Hmmm then we'll need to manually inspect each packet for the DTLS record type, then emit an event that will require the application to call `accept()` if its a handshake packet. That seems like it'll work. Should this be included in this PR?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200513/be16e899/attachment.htm>

More information about the notifications mailing list