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

net: tls: Add socket option to set DTLS role



Add write-only socket option to set role for DTLS connection. This
option is irrelevant for TLS connections.

This options accepts and integer with a TLS role, compatible with
mbedTLS values:
0 - client,
1 - server.

By default, DTLS will assume client role.

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