NativeDtlsEngine.completeClientHandshake

private void completeClientHandshake(DatagramEndpoint peerAddr) @safe

Registers the connected peer state after the client handshake completes.

Shared between the handshake() entry point and the processDatagram()-driven flow so that a client following the documented "keep calling processDatagram" flow becomes connected and can use getPeer/readFromPeer/writeToPeer.

Parameters

peerAddrThe address under which to register the peer state.