Dynamically drop TCP/IP connection between 2 nodes

As I understand you really just want to be able to deactivate the tcp listener not the tcp out. So being able to dynamically disable the tcp in node would be what you're looking for.

The msg.reset is a feature of the tcp out node to dynamically close a connected tcp client.

What I understand you need is to prevent tcp clients from connecting to the tcp in node which means dynamically turning off the tcp in node, i.e., the underlying tcp listener.

That is not possible because the tcp in node does not take any input messages that control its behaviour, therefore there is no way to send it a message to the tcp in node to stop listening for new connections.

1 Like