--- title: "Response TCP" slug: "profiles--entry-tab-6-tcp" updated: 2026-10-15T11:44:04Z published: 2026-10-15T11:44:04Z canonical: "docs.lobstersoftware.com/profiles--entry-tab-6-tcp" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Response TCP ## Settings ![images/download/attachments/201682108/9-version-2-modificationdate-1749696771664-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/9-version-2-modificationdate-1749696771664-api-v2.png) (1) **Alias:** Field. (2) **Forward the answer of the TCP server via message:** Checkbox. (3) **Mark whole job as failed if this response fails:** Normally a job is not necessarily considered to be erroneous if a single response fails (see the "Status of Phase 6 – error behavior" section in [Dependencies](/v1/docs/en/phase-6-response-dependencies#status-of-phase-6-error-behaviour)). But it can be enforced with this option here. (4) **Additional text on error:** Here you can specify an additional log text for the error case. ## Use case 1 If (1) is a client connection (see [TCP connections](/v1/docs/en/manage-tcp)), the payload is sent there. The response of the TCP server can be forwarded to a subsequent profile via Message (2). For setting details see [Response message](/v1/docs/en/profiles--entry-tab-6-message). **NOTE:** If the connection uses a *ByteHandler*, the response is a Base64 string. See also the function [decode Base64()](/v1/docs/en/string-base-64-decode). ## Use case 2 If (1) is a server connection (see [TCP connections](/v1/docs/en/manage-tcp)) and (1) is used in the profile in a TCP Input agent, the payload is sent as a response to the TCP client that called the profile. ## Payload The payload is the content of the response. If (1) uses a *StringHandler*, specify a normal string. If (1) uses a *ByteHandler*, a Base64 value must be specified. Use the function [convert hex to base64()](/v1/docs/en/string-hex-to-base-64) to generate the value. The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data).