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. |