Dtls12Server.processDatagram

TlsProgress processDatagram(const(ubyte)[] data) @trusted

Process a received datagram and advance the handshake.

This is the main entry point for the server. Feed datagrams from the client and the state machine advances automatically.

Parameters

dataThe received datagram bytes.

Returns

Progress indicator: DONE when complete, NEED_READ to wait

for more datagrams, ERROR on failure.