Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

TCP Wait On Listener Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: TCP VI and Functions

Requires: Base Development System

Waits for an accepted TCP network connection.

Examples

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 msspecifies 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.

Examples

Refer to the following VIs for examples of using the TCP Wait On Listener function:

  • labview\examples\Data Communication\Protocols\TCP\TCP Named Service\TCP Named Service.lvproj
  • labview\examples\Data Communication\Protocols\TCP\TCP Named Service\TCP Named Service.lvproj

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit