You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have been using s22.xmpp in our VSIX (visual studio extensibility tool) for the past 2 yrs. We are in a situation to automatically notify end user if there is an unfortunate connection broke or server down etc..,
we are trying to make use of,
StatusChanged
OnPresence
events but nothing helped,
Code what we have tried:
using (var client = new XmppClient("server"))
{
client.Connect();
if (client.Connected == true)
{
client.Authenticate("userid","password");
client.StatusChanged += Client_StatusChanged;
Console.WriteLine("Connected as " + client.Jid);
}
}
Status changed event is not firing when we close the session on the server, it works for the first time if we have more than one session for same users. but we would like to notify with roaster to the client whenever connection state gets changed.
kindly help us with valid solutions, thank you.
The text was updated successfully, but these errors were encountered:
Hi,
we have been using s22.xmpp in our VSIX (visual studio extensibility tool) for the past 2 yrs. We are in a situation to automatically notify end user if there is an unfortunate connection broke or server down etc..,
we are trying to make use of,
events but nothing helped,
Code what we have tried:
Status changed event is not firing when we close the session on the server, it works for the first time if we have more than one session for same users. but we would like to notify with roaster to the client whenever connection state gets changed.
kindly help us with valid solutions, thank you.
The text was updated successfully, but these errors were encountered: