NET_PRES_TransDiscard Type

C

typedef uint16_t (* NET_PRES_TransDiscard)(NET_PRES_SKT_HANDLE_T handle); 

Returns

The number of bytes discarded.

Description

Transport Layer Discard Function Pointer Prototype This function is called by the presentation layer when the application wants to discard the RX buffer in a socket.

Preconditions

A socket needs to have been opened by NET_PRES_TransOpen.

Parameters

ParametersDescription
handleThe handle returned from NET_PRES_TransOpen.