TCPIP_TCP_FifoRxFreeGet Function

C

uint16_t TCPIP_TCP_FifoRxFreeGet(
    TCP_SOCKET hTCP
);

Description

This function determines how many bytes are free in the RX buffer/FIFO.

Preconditions

TCP is initialized.

Parameters

ParametersDescription
hTCPThe socket to check.

Returns

The number of bytes free in the TCP RX FIFO. If zero, no additional data can be received until the application removes some data using one of the TCPIP_TCP_Get family functions.