Jump to main content

##

# 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

Parameters | Description
--- | ---
handle | The handle returned from NET_PRES_TransOpen.
vBuffer | The buffer location to put the information.
wLen | The size of the buffer.
wStart | Where to start peeking into the buffer. This parameter is not used and will always be set to '0'.