Tcp: howto close inbound connection

Hi, how i can clos tcp client connection for the current session client?
regards Paolo

I don't think you can.

Where i can find in debian sources of this control so i can try to midify?

the tcp nodes are core nodes so are built in. - the source is here - https://github.com/node-red/node-red/tree/master/packages/node_modules/%40node-red/nodes/core/network

hi, tanks for answer.
what this means? (line 323)
if (node.doend === true) {
end = true;
if (client) { node.status({}); client.destroy(); }
}
node.doend ???

Hi @billyrudi,

When you activate (in the TCP-Out node's config screen) this checkbox:

image

Then you will see that your node.doend will become true:

image

So as soon as a input message arrives in the TCP-Out node, the client connection will be closed:

image

Bart