Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12162

Re: Openfire XMPP Ping Request - how to change Ping frequensy

$
0
0

Hi Flow, i always wanted to thank you for your efforts on Android port of smack, so THANKS!!!

Your welcome. I appreciate that.

 

The only change is that in the past i was registering providers manually (no SmackAndroid.init(Context))

and later i used SmackAndroid.init(Context) ...

In both cases i use a Ping Provider copied/pasted from here for both sending & receiving xmpp Ping packets

That seems unecessary work and error prone. First, (a)Smack comes with XMPP Ping support, there is no need to add an extra PingProvider.

 

I am still confused about your actual problem. Is it the server that sends the ping requests so often, you mentioned 15 seconds, or the client? Both shouldn't do it and IIRC neither openfire nor (a)smack are configured to do so. How did you discover that behavior?


Viewing all articles
Browse latest Browse all 12162

Trending Articles