Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] MQTT Golang - OnConnectionLost if Ping Fails

It may be an issue with the way I'm using the library, but I was wondering if I could count on OnConnectionLost being called if a ping fails and causes the client to disconnect? Is there another method I should be using instead to trigger cleanup code when the client becomes closed?





Back to the top