This node is a TCP client that listens for connections on specific port or connects to a specified host.
Unlike the default node-red tcp-in node, this one allows you to create dynamic TCP connections passed as arguments.
Allows stopping the connection by passing a "close" argument:
This project was developed specifically for XML over TCP with some parsing options but other formats should still be supported.
To report an issue use the project GitHub page
Install node-red.
Install this package with "npm install node-red-contrib-tcp-client --save" in ~./node-red or via the Palette Manager in node-red.
If everything was successfull you should see the new tcp client node under the network category.