# Newbie using TCP nodes

**URL:** https://discourse.nodered.org/t/newbie-using-tcp-nodes/68506
**Category:** General
**Created:** [3 October 2022 08:57 UTC](https://discourse.nodered.org/t/newbie-using-tcp-nodes/68506 "2022-10-03T08:57:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Elberto](https://avatars.discourse-cdn.com/v4/letter/e/b19c9b/32.png) [@Elberto](https://discourse.nodered.org/u/Elberto)
#### Post date: [3 October 2022 08:57 UTC](https://discourse.nodered.org/t/newbie-using-tcp-nodes/68506/1 "2022-10-03T08:57:32Z")

</div>

Hi to all!  
I'm a newbie about node red and these are my first steps... I can't understand how to use TCP nodes.

I need to do this about TCP handshaking between TCP client and TCP server, here handshaking example:

- Client connects to a server, first handshaking using strings:
- CLIENT: Goodmorning
- SERVER: Goodmorning, I'm server XYZ
- CLIENT: I need station data
- SERVER: Tell me station
- CLIENT: Station ZZXX
- SERVER: Here data of station ZZXX  
Then server starts to send binary data to the client.  
If client not receiving data it sends keepalive packet  
Then client starts to process data.  
Where can I find examples about this?  
Thanks.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [3 October 2022 09:33 UTC](https://discourse.nodered.org/t/newbie-using-tcp-nodes/68506/2 "2022-10-03T09:33:09Z")

</div>

Hi and welcome to the forum.

2 places to start...

- Flows Library: [Library - Node-RED](https://flows.nodered.org/search?term=tcp&type=flow)
- Built in examples: (`CTRL-I`)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/5/e57316cbdfd05519a301284109bed4c4fd7daec2.png)

---

<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: [2 December 2022 09:34 UTC](https://discourse.nodered.org/t/newbie-using-tcp-nodes/68506/3 "2022-12-02T09:34:06Z")

</div>

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