Even more precisely here is what ... does not work !
[{"id":"4d2fbef0.37b18","type":"function","z":"9a73099a.b66008","name":"A2","func":"msg.payload = \"My_message\";\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":140,"y":480,"wires":[["204940b8.053148"]]},{"id":"204940b8.053148","type":"join","z":"9a73099a.b66008","name":"Join A1 and A2","mode":"custom","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":"\" \"","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":480,"y":340,"wires":[["4262ab76.f45e3c","f87bf977.e86ad8"]]},{"id":"68cde1fd.13c5b8","type":"test","z":"9a73099a.b66008","name":"","escapeString":false,"infiniteIsNull":false,"payload":"","payloadType":"num","result":"","resultType":"date","resultProperty":"msg.payload","topic":"","x":150,"y":380,"wires":[["4d2fbef0.37b18"],[],[]]},{"id":"4262ab76.f45e3c","type":"debug","z":"9a73099a.b66008","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":810,"y":340,"wires":[]},{"id":"f87bf977.e86ad8","type":"tcp out","z":"9a73099a.b66008","host":"host.net","port":"12345","beserver":"client","base64":false,"end":false,"name":"","x":670,"y":400,"wires":[]},{"id":"457118e6.f6f0f8","type":"function","z":"9a73099a.b66008","name":"A1","func":"msg.payload = \"user xxx pass xxx\";\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":150,"y":220,"wires":[["204940b8.053148"]]},{"id":"255126a2.0eee6a","type":"test","z":"9a73099a.b66008","name":"","escapeString":false,"infiniteIsNull":false,"payload":"","payloadType":"num","result":"","resultType":"date","resultProperty":"msg.payload","topic":"","x":150,"y":300,"wires":[["457118e6.f6f0f8"],[],[]]}]
I don't understand:
at least "visually" it's the same as when I ordered using ncat?
printf "%s\n" "user xxxx pass xxxx" "My_message" | ncat host.net 12345
So there is an important difference between "ncat" and "node tcp-out" that escapes me?