NET_PRES_TransReady Type

C

typedef uint16_t (* NET_PRES_TransReady)(uintptr_t transHandle); 

Returns

  • true - The presentation layer can read or write to the transport layer

  • false - The transport layer is busy and cannot accept reads or write

Description

Presentation Layer Transport Layer Ready Function This function prototype is used to define the function that the Networking Presentation Layer will pass to the provider when it is initialized. The provider will use this function when it needs to check if it can read or write to the layer.

Preconditions

None.

Parameters

ParametersDescription
transHandleThis is the transport layer handle provided by the transport layer when a communications channel is open.