You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mq...@googlegroups.com
Hi,
Kindly help on this.
In mosquitto_connect(), I am giving value of keepalive parameter to 6. So, after 6 seconds publisher and subscriber clients both are disconnected. it means connection to broker is very highly dependent to keepAlive parameter.
How can a both publisher and subscriber clients always keep connected to broker until whole system goes down?
Is it I need to keep value of keepalive very high? Does client always need to reconnect to broker once there is disconnection from broker?
Thanks in advance.
Regards,
Bhashkar
Roger Light
unread,
Mar 12, 2014, 5:35:06 AM3/12/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Having said that, you need to ensure that you call one of the
mosquitto_loop*() functions to keep network traffic flowing. This is
explained in the documentation.