ot::MeshCoP::SecureTransport::Open() method
Opens the socket.
Arguments
aReceiveHandler
A pointer to a function that is called to receive payload.
aConnectedHandler
A pointer to a function that is called when connected or disconnected.
aContext
A pointer to arbitrary context information.
Return value
kErrorNone Successfully opened the socket. kErrorAlready The connection is already open.