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
-
handler | The TransportHandler managing connection. This must not be NULL. |
connection | A Transport representation of the connection. This must not be NULL. |
except | An 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. |