DONEwhen all data has been sentNEED_WRITEwhen more writes are neededERRORon failure
NativeDtlsEngine.flush
TlsProgress flush() @safeFlush any pending outgoing data.
Attempts to send any buffered data through the transport.
Returns
TlsProgress indicating the flush status: