Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Bug : PublishMessage

Hi,

this could be related to your keepalive timeout setting.  What are you using?

Ian

On 06/19/2016 03:27 PM, Rutkay Bıyık wrote:
  Hi Mqtt team,
  I'm stuck on somewhere in our mqtt project. I'm using your MqttClient library for my mqtt project. Here's the case:
  I'm trying to get some knowledge from the master client side. For this purpose, i have to publish my mac address to a specific topic which is subscribed by master client. After i published successfully my mac address, master client send me new connection username and password for the highly secured broker. Then i connect the broker with new credentials. Now i try to publish something and at this time i plug off the ethernet cable. The code stuck on MQTTClient_publishMessage function and doesn't continue to next line. Connection lost call back can't be fired in this situation. How can i solve this problem?
  Thank you,


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto


Back to the top