NET_PRES_TransPeek Type

C

typedef bool (* NET_PRES_TransPeek)(NET_PRES_SKT_HANDLE_T handle, uint8_t *vBuffer, uint16_t wLen, uint16_t wStart); 

Returns

  • true - Indicates success

  • false - Indicates failure

Description

Transport Layer Peek Function Pointer Prototype This function is called by the presentation layer when the application wants to peek into the buffer of an unencrypted socket.

Preconditions

A socket needs to have been opened by NET_PRES_TransOpen.

Parameters

ParametersDescription
handleThe handle returned from NET_PRES_TransOpen.
vBufferThe buffer location to put the information.
wLenThe size of the buffer.
wStartWhere to start peeking into the buffer. This parameter is not used and will always be set to '0'.