DtlsEngine.flush

TlsProgress flush()

Flushes any pending outgoing datagrams.

Returns

DONE when all data sent, NEED_WRITE if socket isn't ready.