Skip to content

Disconnection not detected properly #43

@AmineG

Description

@AmineG

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions