© National Instruments Corporation 7-1 LabWindows/CVI Standard Libraries
Chapter 7TCP Library
This chapter describes the functions in the LabWindows/CVI TCP (Transmission Control
Protocol) Library. The TCP Library Function Overview section contains general information
about the TCP Library functions and panels. The TCP Library Function Reference section
contains an alphabetical list of function descriptions.
In order to use this library in Microsoft Windows, a version of WINSOCK.DLL has to be present.
The DLL comes with the program that drives the network card.

TCP Library Function Overview

This section contains general information about the TCP Library functions and network
communication using TCP. TCP Library functions provide a platform-independent interface to
the reliable, connection-oriented, byte-stream, network communication protocol.

The TCP Library Function Panels

The first- and second-level bold headings in the tree are the names of function classes and
subclasses. Function classes and subclasses are groups of related function panels. The
third-level headings in plain text are the names of individual function panels. Each TCP Library
function panel generates one TCP Library function call. The names of the corresponding TCP
Library function calls appear in bold italics to the right of the function panel names. The TCP
Library function tree appears in Table 7-1.
Table 7-1. The TCP Library Function Tree
Server Functions
Register TCP Server
Server TCP Read
Server TCP Write
Unregister TCP Server
Disconnect TCP Client
Client Functions
Connect To TCP Server
Client TCP Read
Client TCP Write
Disconnect From TCP Server
Get Error String
RegisterTCPServer
ServerTCPRead
ServerTCPWrite
UnregisterTCPServer
DisconnectTCPClient
ConnectToTCPServer
ClientTCPRead
ClientTCPWrite
DisconnectFromTCPServer
GetTCPErrorString