# Socket.IO Stop

## Overview

![The Socket.IO Stop Node.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-bc614751af8ccbffdecbdee04f9a7adf5356459d%2Fsocketiostopnodereal.png?alt=media)

**Socket.IO Stop** stops the currently opened **Socket.IO** connection.

**Socket.IO 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 **Socket.IO Stop** will not show up in the [**Toolbox**](https://docs.incari.com/incari-studio/2023.1/toolbox/overview). Please refer to the [**Plugins Editor**](https://docs.incari.com/incari-studio/2023.1/modules/plugins/communication/socketiomanager) to find out more information.

It is important to note that while the **Socket.IO Stop Node** stops a **Socket.IO** 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 Socket.IO Stop Node**](https://docs.incari.com/incari-studio/2023.1/toolbox/communication/socketio/events/onsocketiostop) instead. This way, the **Logic** will only execute once the **Socket.IO** connection has definitely been disconnected from. This way, it is assured that the **Logic** will execute once the connection to the **Socket.IO** connection has been terminated.

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

![Socket.IO Stop and On Socket.IO Stop Configuration.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-0cd15dfdd4f20479adb4617c0701d983ce78ea41%2Fsocketiostopexamplereal.png?alt=media)

[**Scope**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2023.1/toolbox/communication/overview.md#scopes): **Project**, **Scene**.

## Attributes

![The Socket.IO Stop Node Attributes.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-d686174e6eddb54b4d6a6b98fea40e8f36dcb7a3%2Fsocketiostopattsreal.png?alt=media)

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

## 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

* [**On Socket.IO Stop**](https://docs.incari.com/incari-studio/2023.1/toolbox/communication/socketio/events/onsocketiostop)
* [**Socket.IO Start**](https://docs.incari.com/incari-studio/2023.1/toolbox/communication/socketio/socketiostart)
