TCPIP_TCP_PutIsReady Function

C

uint16_t TCPIP_TCP_PutIsReady(
    TCP_SOCKET hTCP
);

Description

Call this function to determine how many bytes can be written to the TCP TX buffer. If this function returns zero, the application must return to the main stack loop before continuing in order to transmit more data.

Preconditions

TCP is initialized.

Parameters

ParametersDescription
hTCPThe socket to check.

Returns

The number of bytes available to be written in the TCP TX buffer.

Remarks

None.