Without seeing what you did, it's hard to tell you what you might have done wrong.
Create a small flow demonstrating your problem and export it and attach to a reply. (add a debug
node to your TCP
node to capture some data. Then put that in an inject
node in the sample flow)
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```
)
```
code goes here
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json