join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::Dtls Class Reference

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 Dtlsv4 () noexcept
 get protocol suitable for IPv4 address family.
 
static Dtlsv6 () noexcept
 get protocol suitable for IPv6 address family.
 

Detailed Description

DTLS protocol class (DTLS over UDP).

Member Typedef Documentation

◆ Endpoint

◆ Socket

◆ Transport

Constructor & Destructor Documentation

◆ Dtls()

join::Dtls::Dtls ( int family = AF_INET)
inlineexplicitconstexprnoexcept

create the dtls protocol instance.

Parameters
familyIP address family.

Member Function Documentation

◆ family()

int join::Dtls::family ( ) const
inlineconstexprnoexcept

get the protocol IP address family.

Returns
the protocol IP address family.

◆ v4()

static Dtls & join::Dtls::v4 ( )
inlinestaticnoexcept

get protocol suitable for IPv4 address family.

Returns
an IPv4 address family suitable protocol.

◆ v6()

static Dtls & join::Dtls::v6 ( )
inlinestaticnoexcept

get protocol suitable for IPv6 address family.

Returns
an IPv6 address family suitable protocol.

The documentation for this class was generated from the following file: