# TcpIp client connecting to server and send-receive binary data on same socket

**URL:** <https://discourse.nodered.org/t/tcpip-client-connecting-to-server-and-send-receive-binary-data-on-same-socket/51453>\
**Category:** General\
**Created:** [23 September 2021 23:23 UTC](https://discourse.nodered.org/t/tcpip-client-connecting-to-server-and-send-receive-binary-data-on-same-socket/51453 "2021-09-23T23:23:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicky007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nicky007/32/48560_2.png) [@nicky007](https://discourse.nodered.org/u/nicky007)\
**Post date:** [23 September 2021 23:23 UTC](https://discourse.nodered.org/t/tcpip-client-connecting-to-server-and-send-receive-binary-data-on-same-socket/51453/1 "2021-09-23T23:23:07Z")

</div>

Hi,

I want to create in NodeRed a TcpIp client who connects to a TcpIp server at a specific address, port, sends data (so far I made one using Inject and TcpIp out node),  
and now the tricky part: I wish to receive on the same socket data from TcpIp server (and display it)  
Any help is gratefully appreciated  
🙂

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 September 2021 06:28 UTC](https://discourse.nodered.org/t/tcpip-client-connecting-to-server-and-send-receive-binary-data-on-same-socket/51453/2 "2021-09-24T06:28:10Z")

</div>

Use the TCP request node instead.

---

<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:** [23 November 2021 06:28 UTC](https://discourse.nodered.org/t/tcpip-client-connecting-to-server-and-send-receive-binary-data-on-same-socket/51453/3 "2021-11-23T06:28:13Z")

</div>

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