[riot-notifications] [RIOT-OS/RIOT] sock/dtls: add getter/setter for the remote UDP endpoint of sock_dtls_session_t (#15690)

Martine Lenders notifications at github.com
Mon Jan 4 12:39:05 CET 2021


@miri64 requested changes on this pull request.



> @@ -871,6 +871,14 @@ static inline ssize_t sock_dtls_recv_buf(sock_dtls_t *sock,
  * @note    When blocking, we will need an extra thread to call
  *          @ref sock_dtls_recv() function to handle the incoming handshake
  *          messages.
+ *          An exemplary send with a blocking handshake is:

```suggestion
An example for a blocking handshake is:
```

> @@ -907,6 +915,14 @@ ssize_t sock_dtls_send_aux(sock_dtls_t *sock, sock_dtls_session_t *remote,
  * @note    When blocking, we will need an extra thread to call
  *          @ref sock_dtls_recv() function to handle the incoming handshake
  *          messages.
+ *          An exemplary send with a blocking handshake is:

Here too.

> @@ -871,6 +871,14 @@ static inline ssize_t sock_dtls_recv_buf(sock_dtls_t *sock,
  * @note    When blocking, we will need an extra thread to call
  *          @ref sock_dtls_recv() function to handle the incoming handshake
  *          messages.
+ *          An exemplary send with a blocking handshake is:

I think that example is enough to be mentioned once in `sock_dtls_send()` btw.

-- 
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/15690#pullrequestreview-560964874
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210104/34ce33a6/attachment.htm>


More information about the notifications mailing list