Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Problem with message arrived.

Hello Ian,

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

Best Regards,
Vamsinag Gunti

Back to the top