OpenDOF Project
boolean(* DTLConnection::IsHandleAsync)(DTLConnection connection)

Report whether or not the connection needs to be handled asynchronously.

If the connection requires asynchronous handling (this function returns TRUE), the data received must be queued for later processing and the Transport Handler's receive call will return immediately. If the connection can be handled synchronously (this function returns FALSE), then data received from the connection is allowed to be processed immediately, blocking the caller.

Note
This is only an optimization hint: depending on the implementation of the Transport Handler, data may always be handled asynchronously (queued for later processing), regardless of this function's return value.

This callback must not be NULL.

Parameters
connectionThe connection. This parameter must not be NULL.
Return values
TRUEThe connection is asynchronous; received packets must be queued.
FALSEThe connection is synchronous; received packets may be processed immediately (synchronously).
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22