Closes a TCP network connection.


icon

Inputs/Outputs

  • cncrn.png connection ID

    connection ID is a network connection refnum that uniquely identifies the TCP connection you want to close.

  • cbool.png abort (F)

    abort is reserved for future use.

  • cerrcodeclst.png error in (no error)

    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.

  • incrn.png connection ID out

    connection ID out has the same value as connection ID. Do not wire this output to other TCP functions.

  • ierrcodeclst.png error out

    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