OpenDOF Project
uint32(* DTLTransport::GetMaxSize)(DTLTransport transport, DOFConnectionType type)

Get the Maximum Transmission Unit (MTU) size for the specified type of transmission.

This callback may be NULL if the maximum size for all connection (and server) types is effectively unlimited.

Parameters
transportThe Transport. This parameter must not be NULL.
typeThe transmission type of interest, (e.g., DOFCONNECTIONTYPE_STREAM or DOFCONNECTIONTYPE_DATAGRAM).
Returns
The Maximum Transmission Unit (MTU) size for the specified type of transmission, in bytes. 0 indicates the specified transmission type is not supported.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22