ot::Coap::CoapSecure::Connect() method
Initializes DTLS session with a peer.
Arguments
aSockAddr
A reference to the remote socket address,
aCallback
A pointer to a function that will be called once DTLS connection is established.
Return value
kErrorNone Successfully started DTLS connection.