TCPIP_HTTP_NET_ConnectionPeek Function

C

uint16_t TCPIP_HTTP_NET_ConnectionPeek(
    TCPIP_HTTP_NET_CONN_HANDLE connHandle, 
    void * buffer, 
    uint16_t size
);

Description

This function allows peeking into the connection buffer. The data will still be available for a next read operation.

Preconditions

connHandle - a valid HTTP connection.

Parameters

ParametersDescription
connHandleConnection handle.
bufferDestination to write the peeked data bytes.
sizeLength of bytes to peek from the connection RX buffer.

Returns

None .

Remarks

None.