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:
parent
3a3c105787
commit
59446cf1e8
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user