# TCP

## Introduction

The **TCP** **Nodes** provide a means for the user to perform several actions within the *TCP* communications protocol. *TCP*, or Transmission Control Protocol, is part of the Internet protocol suite and allows for bidirectional communication between a server and a client. To use the **TCP Nodes** in **Incari**, the user needs to locate the [**TCP Attributes**](/incari-studio/modules/project-settings/tcp-connection.md) in **Project Settings** and add a `Connection`.

This form of **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 render the **TCP Nodes** unavailable. Please refer to the [**Plugins Editor**](/incari-studio/modules/plugins/communication/tcpconnectionsmanager.md) to find out more information.

## TCP Guideline

These are the guidelines for incorporating **TCP Communication** into a **Project**.

* To properly start a connection, see the [**General Guideline**](/incari-studio/toolbox/communication.md#general-guideline) on the Communication Introduction page.
* Once the connection has been established, there are several **Nodes** that cover important functions of **TCP Communication**.
  * [**TCP Send**](/incari-studio/toolbox/communication/tcp/tcpsend.md) sends a `Message` through the established connection to the *TCP* endpoint.
  * [**On TCP Packet Receive**](/incari-studio/toolbox/communication/tcp/events/ontcppacketreceive.md) executes once a **TCP** `Message` is received.
* To properly stop a connection, see the [**General Guideline**](/incari-studio/toolbox/communication.md#general-guideline) on the Communications Introduction page.

## Contents

* [**Events**](/incari-studio/toolbox/communication/tcp/events.md)
  * [**On TCP Error**](/incari-studio/toolbox/communication/tcp/events/ontcperror.md)
  * [**On TCP Packet Receive**](/incari-studio/toolbox/communication/tcp/events/ontcppacketreceive.md)
  * [**On TCP Start**](/incari-studio/toolbox/communication/tcp/events/ontcpstart.md)
  * [**On TCP Stop**](/incari-studio/toolbox/communication/tcp/events/ontcpstop.md)
* [**TCP Send**](/incari-studio/toolbox/communication/tcp/tcpsend.md)
* [**TCP Start**](/incari-studio/toolbox/communication/tcp/tcpstart.md)
* [**TCP Stop**](/incari-studio/toolbox/communication/tcp/tcpstop.md)


---

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