Paho C++ embedded client code question [message #1787609] |
Wed, 30 May 2018 01:10 |
Andrew Brownsword Messages: 1 Registered: May 2018 |
Junior Member |
|
|
I am currently implementing a C++ client (based on my messaging layer of choice), using the low level C API and working through the synchronous Paho C++ embedded client code as it is easier to understand. Mostly done now, however I've run into a question in the reconnection code:
Where is the member variable 'pubrel' set to true? It appears to be used in several places and set to false in two places, but in the version I have (downloaded from GitHub just a couple of weeks ago) it doesn't appear to ever be set to true. Which means its not clear how a PUBREL ack on reconnection can ever be generated.
Can someone clarify what's going on with this in the code?
|
|
|
Powered by
FUDForum. Page generated in 0.03499 seconds