eclipse / paho.mqtt.m2mqtt

Eclipse Public License 1.0
512 stars 303 forks source link

MqttClient Connect method is making Application unresponsive. #87

Open abhishekswaraj23 opened 5 years ago

abhishekswaraj23 commented 5 years ago

When we have poor connection and connection is not able to establish, MqttClient Connect() method is making application unresponsive. Is there any way to use Connect method asynchronously? I am using mono version of MqttClient in my Xamarin project.

ngducnghia commented 5 years ago

@abhishekswaraj23 I think you're running to same issue as others when failing connection. There are multiple PRs that should resolve this issue.