Newbie using TCP nodes

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?

Hi and welcome to the forum.

2 places to start...

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