mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 20:42:30 +00:00
Add binary IO functions for DTLS connections. dtls_rx function is more complex than it's TLS counterpart due to fact, that DTLS does not allow blocking operation for this function. A simple timeout mechanism was implmented basing on the zsock_poll function. This function also verifies peer address. As currently only a single DTLS connection is supported on a socket, if a DTLS connection is established, and we receive datagram from different peer, it is silently dropped. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
getaddrinfo.c | ||
Kconfig | ||
sockets_internal.h | ||
sockets_tls.c | ||
sockets.c |