From 32e8f4eac6e4aa7dad6a3429bfef4ee30aea0c94 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Wed, 1 Nov 2023 12:33:57 +0000 Subject: [PATCH] Add help info --- .../@node-red/nodes/locales/en-US/network/31-tcpin.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/network/31-tcpin.html b/packages/node_modules/@node-red/nodes/locales/en-US/network/31-tcpin.html index 173f003f7..dd42c6614 100644 --- a/packages/node_modules/@node-red/nodes/locales/en-US/network/31-tcpin.html +++ b/packages/node_modules/@node-red/nodes/locales/en-US/network/31-tcpin.html @@ -40,6 +40,8 @@ returned characters into a fixed buffer, match a specified character before returning, wait a fixed timeout from first reply and then return, sit and wait for data, or send then close the connection immediately, without waiting for a reply.

+

If in sit and wait mode (remain connected) you can send msg.reset = true; to force a break in + the connection and an automatic reconnection.

The response will be output in msg.payload as a buffer, so you may want to .toString() it.

If you leave tcp host or port blank they must be set by using the msg.host and msg.port properties in every message sent to the node.