C
WORD UDPPutArray( BYTE * cData, WORD wDataLen );
Description
This function writes an array of bytes 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.