OpenDOF Project
void(* DTLConnection::SetContext)(DTLConnection connection, void *context)

Set the context associated with the connection.

The context is opaque to the connection. The context is normally set for outbound connections when the connection is created, at the request of the Transport Handler. This call is normally used by the Transport Handler to set the context for inbound connections created from a server (the connections in this case are created with a NULL context).

This callback must not be NULL.

Parameters
connectionThe connection. This parameter must not be NULL.
contextThe context to associate with the connection.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22