Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Receiving a disconnection (1) when connecting, to broker

Hi,

Given the disconnect time is an exact multiple of the keepalive I
suspect it's because your not sending keepalive packets. The longer gaps
are probably because you are publishing a message in that keep alive
window which resets the counter.

Have you started the network loop (mosquitto_loop or
mosquitto_loop_forever)?

-- 
http://www.hardill.me.uk/wordpress
http://about.me/hardillb
http://flickr.com/photos/hardillb/
http://last.fm/user/hardillb
https://keybase.io/hardillb


Back to the top