TCPIP_HTTP_NET_ConnectionReadIsReady Function

C

uint16_t TCPIP_HTTP_NET_ConnectionReadIsReady(
    TCPIP_HTTP_NET_CONN_HANDLE connHandle
);

Description

This function determines how many bytes can be read from the connection RX buffer.

Preconditions

connHandle - a valid HTTP connection.

Parameters

ParametersDescription
connHandleConnection handle.

Returns

  • The number of bytes available to be read from the connection RX buffer.

Remarks

When using an encrypted connection, the number of available unencrypted bytes may turn out to be different than what this function returns.