Owning Palette: TCP VI and Functions
Requires: Base Development System
Waits for an accepted TCP network connection.
Add to the block diagram | Find on the palette |
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. If resolve remote address is TRUE, this address is in the form machinename.domain.com. If resolve remote address is FALSE, this address is in IP dot notation format such as 128.0.0.25.� | |
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. |
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.