NativeDtlsContext.clientEngine

DtlsEngine clientEngine(DtlsTransport transport, DtlsTimerSink timer, string serverName)

Creates a DTLS client engine with this context's configuration.

Parameters

transportDatagram transport to use.
timerTimer sink for retransmission.
serverNameServer hostname for SNI and certificate verification.

Returns

A configured DtlsEngine ready for client handshake.