C
WORD TCPPutROMArray( TCP_SOCKET hTCP, ROM BYTE* Data, WORD Len );
Description
Writes an array from ROM 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.
Remarks
This function is aliased to TCPPutArray on non-PIC18 platforms.