# On TCP Packet Receive

## Overview

![The On TCP Packet Receive Node.](/files/cKYlrOVhukmQmJCcAOGb)

**On TCP Packet Receive** is an **Event Listener Node** that listens to an established **TCP** connection and outputs the `Message` data given, therefore enabling the user to trigger a **Logic Branch** when the `Message` is received.

**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 **On TCP Packet Receive** will not show up in the [**Toolbox**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2025.1/toolbox/communication/overview.md). Please refer to the [**Plugins Editor**](/incari-studio/modules/plugins/communication/tcpconnectionsmanager.md) to find out more information.

[**Scope**](/incari-studio/toolbox/overview.md#scopes): **Project**, **Scene**.

## Attributes

![The On TCP Packet Receive Node Attributes.](/files/xlaVneM4ebDnzks9IjR4)

| Attribute       | Type          | Description                                                                                                                                                              |
| --------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Is Binary`     | **Bool**      | Can be toggled on or off depending on if the `Message` body is binary or not.                                                                                            |
| `Configuration` | **Drop-Down** | The desired *TCP* server, which refers back to the selections made under *TCP* in the [**Project Settings**](/incari-studio/modules/project-settings/tcp-connection.md). |

## 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. |
| `Message`          | **String** | The returned `Message`.                                                                                                                |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/toolbox/communication/tcp/events/ontcppacketreceive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
