TCP Wait On Listener Function

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: TCP VI and Functions

Requires: Base Development System

Waits for an accepted TCP network connection.

Example

listener ID in is a network connection refnum that uniquely identifies the listener.
resolve remote address indicates whether to call the IP To String function on the remote address. The default is TRUE. Refer to IP To String for more information.
timeout ms specifies the time, in milliseconds, that the function waits for a connection. If a connection is not established in the specified time, the function returns an error. The default value is –1, which indicates to wait indefinitely.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
listener ID out has the same value as listener ID in. Use this value to refer to the listener in subsequent calls to this function.
remote address is the address of the remote machine associated with the TCP connection. This address is in IP dot notation format.
remote port is the port the remote system uses for the connection.
error out contains error information. This output provides standard error out functionality.
connection ID is a network connection refnum that uniquely identifies the TCP connection. Use this value to refer to this connection in subsequent VI calls.

Example

Refer to the TCP Named Service.lvproj in the labview\examples\Data Communication\Protocols\TCP\TCP Named Service directory for an example of using the TCP Wait On Listener function.

WAS THIS ARTICLE HELPFUL?

Not Helpful