Chapter 7 TCP Library
© National Instruments Corporation 7-7 LabWindows/CVI Standard Libraries
See Also
RegisterTCPServer, DisconnectFromTCPServer
DisconnectFromTCPServer
int status = DisconnectFromTCPServer (unsigned int conversationHandle);
Purpose
Disconnects your client program from a server application.
Parameters
Input conversationHandle unsigned integer Uniquely identifies the conversation.
Return Value
status integer Refer to error codes in Table 7-3.
Note: This function terminates a connection identified by the conversation handle passed.
There can be more than one conversation between a client and a server.
See Also
ConnectToTCPServer, RegisterTCPServer
DisconnectTCPClient
int status = DisconnectTCPClient (unsigned int conversationHandle);
Purpose
Called by a TCP server to terminate a connection with a client. (Be aware that there can be more
than one conversation between a server and a client.)
Parameters
Input conversationHandle unsigned integer Uniquely identifies the connection.
Return Value
status integer Refer to error codes in Table 7-3.