|
join 1.0
lightweight network framework library
|
DTLS protocol class (DTLS over UDP). More...
#include <tls_protocol.hpp>
Public Types | |
| using | Transport = Udp |
| using | Endpoint = typename Transport::Endpoint |
| using | Socket = BasicDtlsWrapper<Dtls> |
Public Member Functions | |
| constexpr | Dtls (int family=AF_INET) noexcept |
| create the dtls protocol instance. | |
| constexpr int | family () const noexcept |
| get the protocol IP address family. | |
Static Public Member Functions | |
| static Dtls & | v4 () noexcept |
| get protocol suitable for IPv4 address family. | |
| static Dtls & | v6 () noexcept |
| get protocol suitable for IPv6 address family. | |
DTLS protocol class (DTLS over UDP).
| using join::Dtls::Endpoint = typename Transport::Endpoint |
| using join::Dtls::Socket = BasicDtlsWrapper<Dtls> |
| using join::Dtls::Transport = Udp |
|
inlineexplicitconstexprnoexcept |
create the dtls protocol instance.
| family | IP address family. |
|
inlineconstexprnoexcept |
get the protocol IP address family.
|
inlinestaticnoexcept |
get protocol suitable for IPv4 address family.
|
inlinestaticnoexcept |
get protocol suitable for IPv6 address family.