National Instruments 320682C Musical Toy Instrument User Manual


 
TCP Library Chapter 7
LabWindows/CVI Standard Libraries 7-4 © National Instruments Corporation
Parameters
Input
conversationHandle
unsigned integer Uniquely identifies the
conversation.
dataBuffer
void pointer Buffer in which to receive data.
dataSize
unsigned integer Maximum number of bytes to
read.
timeout
unsigned integer Timeout in ms.
Return Value
status
integer Returns the number of bytes
read, or a negative error code if
an error occurs; Refer to error
codes in Table 7-3.
See Also
ConnectToTCPServer, ClientTCPWrite
ClientTCPWrite
int status = ClientTCPWrite (unsigned int conversationHandle, void *dataPointer,
int dataSize, unsigned int timeout);
Purpose
Writes data to a TCP server application.
Parameters
Input
conversationHandle
unsigned integer Uniquely identifies the
conversation.
dataPointer
void pointer Buffer holding data.
dataSize
unsigned integer Number of bytes to write.
timeout
unsigned integer Timeout in ms.