C
WORD UDPPutROMArray( ROM BYTE * cData, WORD wDataLen );
Description
ROM function variants for PIC18
This function writes an array of bytes from ROM to the currently active UDP socket, while incrementing the buffer length. UDPIsPutReady should be used before calling this function to specify the currently active socket.
Preconditions
UDPIsPutReady() was previously called to specify the current socket.
Parameters
Parameters |
Description |
cData |
The array to write to the socket. |
wDateLen |
Number of bytes from cData to be written. |
Returns
The number of bytes successfully placed in the UDP transmit buffer. If this value is less than wDataLen, then the buffer became full and the input was truncated.
Remarks
This function is aliased to UDPPutArray on non-PIC18 platforms.