1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-31 17:31:18 +01:00

sys/net/sock_dtls: document SOCK_DTLS_HANDSHAKE in user guide

This commit is contained in:
Mikolai Gütschow 2025-10-29 17:34:30 +01:00
parent 3a3c105787
commit 59446cf1e8
No known key found for this signature in database
GPG Key ID: 943E2F37AA659AD5

View File

@ -284,8 +284,9 @@
* application waits indefinitely for new packets. If we want to timeout this
* wait period we could alternatively set the `timeout` parameter of the
* function to a value != @ref SOCK_NO_TIMEOUT. If an error occurs we just
* ignore it and continue looping. We can reply to an incoming message using
* its `session`.
* ignore it and continue looping. A newly established DTLS session would be
* signaled by a return value - @ref SOCK_DTLS_HANDSHAKE, but it is also ignored
* here. We can reply to an incoming message using its `session`.
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.c}
* while (1) {