C
BYTE* UDPPutString( BYTE * strData );
Description
This function writes a null-terminated string 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 |
Pointer to the string to be written to the socket. |
Returns
A pointer to the byte following the last byte written. Note that this is different than the UDPPutArray functions. If this pointer does not dereference to a NULL byte, then the buffer became full and the input data was truncated.