TCPPutROMArray Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TCPPutROMArray Function
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.

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