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

Martine Lenders notifications at github.com
Thu May 14 15:30:51 CEST 2020


@miri64 commented on this pull request.



> @@ -606,7 +601,8 @@ void sock_dtls_session_destroy(sock_dtls_t *sock, sock_dtls_session_t *remote);
  *
  * @note Function may block if data is not available and @p timeout != 0
  *
- * @return The number of bytes received on success
+ * @return  The number of bytes received on success
+ * @return  0 when new handshake is completed

Or no data was in a data record?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14043#pullrequestreview-411804823
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200514/508ccc83/attachment.htm>


More information about the notifications mailing list