Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Paho C++ embedded client code question(Where is pubrel set to true?)
Paho C++ embedded client code question [message #1787609] Wed, 30 May 2018 01:10
Andrew Brownsword is currently offline Andrew BrownswordFriend
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?
Previous Topic:Detect no retained message on subscribe
Next Topic:where can get the source code of
Goto Forum:

Current Time: Tue Oct 27 16:23:12 GMT 2020

Powered by FUDForum. Page generated in 0.02302 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top