Subject: Best way to find out whether we are connected to server
Hello,
In mobile world connection to the server can be tricky sometimes, what is the best method to find out whether we are connected to server or not? currently i use XmppClient.StreamActive method when app starts or activated and also just before sending any message, is that the correct way?
Thanks in advance for your reply,
-Waqas
In mobile world connection to the server can be tricky sometimes, what is the best method to find out whether we are connected to server or not? currently i use XmppClient.StreamActive method when app starts or activated and also just before sending any message, is that the correct way?
Thanks in advance for your reply,
-Waqas