Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] paho-dev Digest, Vol54 , Issue 12

  Sorry for wrong mail with wrong content,
  I'm re-mailing the last mail with better combination :

  My configurations :
  1- Keepaliveinterval=20
  2- Timeout = 20000 msec
  Addition code :
  3-   std::cout<<"Publish1:"<<std::endl;
int nReturn = MQTTClient_publishMessage( m_MqttClient, m_Topic.c_str(), &pubmsg, &token ); 
std::cout<<"Publish2:"<<std::endl;

  When I plug out the ethernet cable, I can't see "Publish2" on the screen and the program stuck on exacly here
  
  Thanks,

Back to the top