Dtls12Client.processServerResponse

bool processServerResponse(const(ubyte)[] datagram)

Process a received datagram during the handshake.

Parses DTLS records from the datagram and dispatches to the appropriate handler based on content type and current phase.

Parameters

datagramThe received datagram bytes.

Returns

true if processing succeeded and phase advanced,

false if the datagram should be ignored (replay, wrong epoch, etc.).