NativeDtlsPeer.isConnected

bool isConnected() @property const

Whether the handshake is complete.

Returns

true if the DTLS handshake has completed successfully

and application data can be exchanged.