TCPGet Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TCPGet Function
C
BOOL TCPGet(
    TCP_SOCKET hTCP, 
    BYTE* byte
);
Description

Retrieves a single byte to a TCP socket.

Preconditions

TCP is initialized.

Parameters
Parameters 
Description 
hTCP 
The socket from which to read. 
byte 
Pointer to location in which the read byte should be stored. 
Return Values
Return Values 
Description 
TRUE 
A byte was read from the buffer. 
FALSE 
The buffer was empty, or the socket is not connected. 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.