jorgen-k / node-red-contrib-tcp-client2

Working and improved version of nonmaintained node-red-contrib-tcp-client and node-red-contrib-tcp-server
MIT License
0 stars 0 forks source link

Does not send a buffer as a message to a host #4

Open GusanoGris opened 2 months ago

GusanoGris commented 2 months ago

Although the connection and disconnection orders from the client to the host do not cause problems, when I try to send a buffer in the payload to the host, it simply does nothing, I cannot send the data to the host.

image

Using the TCP node included in node-red works without errors, but I am interested in being able to close and open connections.

GusanoGris commented 2 months ago

Ok. Just had to pass the buffer to sting

msg.payload = <buffer>.toString()

Sorry.