Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnection not detected properly #43

Open
AmineG opened this issue Mar 15, 2016 · 1 comment
Open

Disconnection not detected properly #43

AmineG opened this issue Mar 15, 2016 · 1 comment

Comments

@AmineG
Copy link

AmineG commented Mar 15, 2016

I tried to display the MQTT client status, by showing the value of "connected" Boolean.
What I notice when I close any network connection, the MQTTKit does not detect the connection interruption (I tried to close wifi, and I was observing "connected" bool changes).
I think some reachability checking code can be added to enhence the connection loss detection.

(If I play the same scenario with MQTTClient framework, it detect that MQTT connection is lost.)

@sxhebing
Copy link

I have same question!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants