[riot-notifications] [RIOT-OS/RIOT] sock/async: add function to retrieve session object of current DTLS event (#15755)

János Brodbeck notifications at github.com
Thu Jan 21 17:20:10 CET 2021


@janosbrodbeck commented on this pull request.



>  
+    if (type & SOCK_ASYNC_CONN_RECV) {
         puts("Session handshake received");

Done! In the event types `SOCK_ASYNC_CONN_FIN` and `SOCK_ASYNC_CONN_RDY` we could also use `expect(sock_dtls....)` to test it since currently it is only printed and not tested. Would that be too much to also add it there? Would like to keep the session printing, because it is currently the only example usage of this new function.

-- 
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/15755#discussion_r562012288
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210121/e6d43092/attachment.htm>


More information about the notifications mailing list