TCPPutArray Function

Microchip TCP/IP Stack

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

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