C
WORD TCPPutArray( TCP_SOCKET hTCP, BYTE* Data, WORD Len );
Description
Writes an array from RAM to a TCP socket.
Preconditions
TCP is initialized.
Parameters
Parameters |
Description |
hTCP |
The socket to which data is to be written. |
data |
Pointer to the array to be written. |
len |
Number of bytes to be written. |
Returns
The number of bytes written to the socket. If less than len, the buffer became full or the socket is not conected.