TCPIsGetReady Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TCPIsGetReady Function
C
WORD TCPIsGetReady(
    TCP_SOCKET hTCP
);
Description

Call this function to determine how many bytes can be read from the TCP RX buffer. If this function returns zero, the application must return to the main stack loop before continuing in order to wait for more data to arrive.

Preconditions

TCP is initialized.

Parameters
Parameters 
Description 
hTCP 
The socket to check. 
Returns

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

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.