Nobody can answer me ? I am still forced to leave the setting to 30s and it drains users battery.
On 14 avr, 11:55, Guillaume Perrot <guillaume.p...@gmail.com> wrote: > Hi, > I just wondered which frequency is OK to send whitespace keep alive > packets onto a TCP connection to keep it alive on a T-Mobile 3G > connectivity (the use case is to maintain an idle XMPP session alive). > On SFR in France, we are disconnected if idle for 3 minutes, but I > guess T-Mobile's timeout is lower. > Any idea ? > > By the way there is a bug in the Smack library, the "keep alive" > setting is not enforced, e.g. if you set it to 30s, in the worst case > the whitespace will not be sent until the double of this time (60s). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---