TCP Close Connection Function
- Updated2025-03-14
- 2 minute(s) read
Closes a TCP network connection.

Inputs/Outputs
![]() connection ID is a network connection refnum that uniquely identifies the TCP connection you want to close. ![]() abort is reserved for future use. ![]() error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality. This node runs normally even if an error occurred before this node runs. ![]() connection ID out has the same value as connection ID. Do not wire this output to other TCP functions. ![]() error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Data Communication\Protocols\TCP\TCP Named Service\TCP Named Service.lvproj