Skip to content
Commit 27211cf1 authored by Robert Lubos's avatar Robert Lubos Committed by Jukka Rissanen
Browse files

net: sockets: tls: Decouple TLS sockets from net_context



Separate TLS sockets implementation from net_context layer. Instead of
calling net_context functions directly, create an underlying TCP/UDP
socket, and call socket functions on it instead. This results in a
simpler design, where we don't need to duplicate specific parts of code
from the native socket implementation. Additionally, this allows to use
a different TCP/UDP stack underneath (i. e. when sockets offloading is
used).

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 7d77307c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment