|Re: [paho-dev] Problem with message arrived.|
You are right. I am not adding the null terminator at the end of my message. Although, I am curious. Where is the other part of the payload coming from? I mean the part that says "Client.c".
the payload is a binary field delimited by length, not a null-terminated C string, unless you added the null terminator explicitly yourself.Â That's the first thing I would check.
-- Ian Craggs icraggs@xxxxxxxxxx IBM United Kingdom Paho Project Lead; Committer on Mosquitto
Back to the top