OpenDOF Project
void(* DTLTransportHandler::Closed)(DTLTransportHandler handler, DTLConnection connection, DOFException except)

Report a connection that is now closed.

Called by a Transport when an inbound or outbound connection was closed. The Transport is permitted to reclaim resources used by the DTLConnection only after this callback returns.

This callback must not be NULL.

Parameters
handlerThe TransportHandler managing connection. This must not be NULL.
connectionA Transport representation of the connection. This must not be NULL.
exceptAn exception for the closure/failure of the connection, if any. NULL indicates it was a normal closure due to Close() being called on the DTLConnection. Otherwise, it must be a valid DOFErrorException describing the failure.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22