Tcp in node only triggers on disconnect

I have the following TCPI IN node:

[{"id":"2bf9b89c.dd2018","type":"tcp in","z":"9f6c165f.c01738","name":"Input from Tulip","server":"server","host":"","port":"1915","datamode":"single","datatype":"utf8","newline":"","topic":"","base64":false,"x":100,"y":120,"wires":[["36927c10.f8ebd4","3b119414.d1c18c"]]}]

The problem is that even when I add '\n' or \r\n' to the strings being sent the node will not trigger, but if I disconnect it does, but that obviously prevents the host from getting the reply from my TCP OUT node.

How do I need to format the string being sent so the node triggers? The documentation for this node is very light.

Never mind, it finally registered what "datamode" : "single" means...

You probably wanted a stream of strings separated by \n mode... but glad you figured it out while I was thinking :slight_smile:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.