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,

I am printing it to the console using puts() function.

char* payloadptr;
payloadptr = (char*)malloc(message->payloadlen);
sprintf(payloadptr, "%s", ((char*)message->payload));

How are you displaying the content of the payload? (In code terms)



Best Regards,
Vamsinag Gunti

Back to the top