Subject: jabber.at disconnects when agsxmpp client does not respond to server ping
I have two accounts at jabber.at
the first I connect to with xabber/android. It connects, receives messages, and stays connected until I logoff, regardless if there is any activity or not.
the second I connect to with agsxmpp/c#. It connects, sends messages, and then looses the connection after 5 minutes, if there is no activity.
I contacted jabber.at and they confirmed that if the client does not respond to a jabber.at server ping, then the server terminates the connection. This ping was set to 5 minutes.
I have not seen AgsXMPP documentation for how to recognize and then respond to a server ping. But this would solve my problem.
In the connection string I have set KeepAlive = true; but it does not make any difference.
Please advise
the first I connect to with xabber/android. It connects, receives messages, and stays connected until I logoff, regardless if there is any activity or not.
the second I connect to with agsxmpp/c#. It connects, sends messages, and then looses the connection after 5 minutes, if there is no activity.
I contacted jabber.at and they confirmed that if the client does not respond to a jabber.at server ping, then the server terminates the connection. This ping was set to 5 minutes.
I have not seen AgsXMPP documentation for how to recognize and then respond to a server ping. But this would solve my problem.
In the connection string I have set KeepAlive = true; but it does not make any difference.
Please advise