Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] mqtt.embedded-c/MQTTPacket/ samples and src/MQTTPacket.c

The timeout approach should mostly work, but is not guaranteed on every
possible situation where TCP will work. I mean, I can put a 10 second
timeout and TCP can take 11 to deliver the data, and that will cause a
sync loss and data loss. This is true for every platform.

My intention is to modify MQTTPacket.c, it should support TCP as it is.
Then, current samples will stay generic samples, even though they are
socket specific, we can add more samples later; I will probably be
adding samples for lwIP raw API.

Back to the top