# How to send acknowledgement in tcp

**URL:** https://discourse.nodered.org/t/how-to-send-acknowledgement-in-tcp/29074
**Category:** General
**Created:** [27 June 2020 15:29 UTC](https://discourse.nodered.org/t/how-to-send-acknowledgement-in-tcp/29074 "2020-06-27T15:29:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![VIKRAMAS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikramas/32/3955_2.png) [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)
#### Post date: [27 June 2020 15:29 UTC](https://discourse.nodered.org/t/how-to-send-acknowledgement-in-tcp/29074/1 "2020-06-27T15:29:06Z")

</div>

I am having three node cluster of node-red and having a tcp listening node. So, whenever the I'll receive the first packet I have to send the acknowledgment message for the socket and also I need to store this deviceid and connection in Redis for further communication. For further request, I'll receive only telemetry data without deviceid. So, I have to fetch device id by using tcp connection. So, how can I do this using node-red. How can I send the acknowledgement part for the same socket and also store the connection in redis to get deviceid.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [26 August 2020 15:29 UTC](https://discourse.nodered.org/t/how-to-send-acknowledgement-in-tcp/29074/2 "2020-08-26T15:29:15Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
