# TCP Stop

## Overview

![The TCP Stop Node.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%2Fuploads%2Fgit-blob-8d2c924303713e7847d8a4ec088b1609dc0b740c%2Ftcpstopnode20241.png?alt=media)

**TCP Stop** stops the currently opened **TCP** connection.

**TCP Communication** in **Incari** is available as a plugin and is enabled as default. However, in the case that it is disabled in the **Plugins Editor**, it will not appear in the **Project Settings** and **TCP Stop** will not show up in the [**Toolbox**](https://docs.incari.com/incari-studio/toolbox/overview). Please refer to the [**Plugins Editor**](https://docs.incari.com/incari-studio/modules/plugins/communication/tcpconnectionsmanager) to find out more information.

It is important to note that while the **TCP Stop Node** stops a **TCP** connection, it may not completely finish disconnecting from said connection when the **Node** is executed. This could lead to the **Logic** attached to its **Output Pulse** to not work even though there is technically nothing wrong. In order to avoid this, it is highly suggested to use the [**On TCP Stop Node**](https://docs.incari.com/incari-studio/toolbox/communication/tcp/events/ontcpstop) instead. This way, the **Logic** will only execute once the **TCP** connection has definitely been disconnected from. This way, it is assured that the **Logic** will execute once the connection to the **TCP** connection has been terminated.

Again, the user must first use the **TCP Stop Node** to close the connection. Separately, the **On TCP Stop Node** can be used to execute the desired **Communication Logic**.

![TCP Stop and On TCP Stop Configuration.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%2Fuploads%2Fgit-blob-f7567855ecfc77a807ad0373144fa981e686e4a9%2Ftcpstopvsontcpstop.png?alt=media)

[**Scope**](https://docs.incari.com/incari-studio/overview#scopes): **Project**, **Scene**.

## Attributes

![The TCP Stop Node Attributes.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%2Fuploads%2Fgit-blob-0b023ce67af8b815e55fd197920bf10f52493108%2Ftcpstopatts.png?alt=media)

| Attribute       | Type          | Description                                                                                                                                                                                  |
| --------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Configuration` | **Drop-Down** | The desired *TCP* server, which refers back to the selections made under *TCP* in the [**Project Settings**](https://docs.incari.com/incari-studio/modules/project-settings/tcp-connection). |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard **Input Pulse**, to trigger the execution of the **Node**. |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |

## See Also

* [**TCP Start**](https://docs.incari.com/incari-studio/toolbox/communication/tcp/tcpstart)
* [**On TCP Stop**](https://docs.incari.com/incari-studio/toolbox/communication/tcp/events/ontcpstop)
