Go Back   Wireless and Wifi Forums > Cellular Communications > Cellular Newsgroups > uk.telecom.mobile
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2008, 09:41 AM
Simon Tennant
Guest
 
Posts: n/a
Default Keeping a data connection alive on Three

It's a long shot, but I wonder if someone from Three network ops side
can comment (off the record if necessary) on the TCP time outs that
their GPRS data connection uses by default?

Our application tries to hold open a socket on a Symbian phone and
then
waits for TCP packets from a server. The sever then pushes events to
the phone on a semi-regular intervals. However sometimes an event will
not be
received inside of 3 minutes and we notice the connection being
terminated from the operator's side.

We've not encountered this problem on Voda, O2, T-Mobile and Orange.
However on Three we are encountering regular TCP time outs forcing
our
application to reconnect every 3 minutes if not data has been sent.

To me a 3 minute TCP time out already seems low. Do we need to be
polling on a more regular basis just to keep the socket open?

As an aside, do the operators gateways honour TCP Keep-alive packets
sent from the server to phone? I've tried sending them every 60
seconds
but we still see our application having to go through a reconnect
cycle.

Any pointers welcomed.

S.

Reply With Quote
  #2 (permalink)  
Old 04-02-2008, 04:45 PM
White Knight
Guest
 
Posts: n/a
Default Re: Keeping a data connection alive on Three

* Simon Tennant wrote:
> It's a long shot, but I wonder if someone from Three network ops side
> can comment (off the record if necessary) on the TCP time outs that
> their GPRS data connection uses by default?
>
> Our application tries to hold open a socket on a Symbian phone and
> then
> waits for TCP packets from a server. The sever then pushes events to
> the phone on a semi-regular intervals. However sometimes an event will
> not be
> received inside of 3 minutes and we notice the connection being
> terminated from the operator's side.
>
> We've not encountered this problem on Voda, O2, T-Mobile and Orange.
> However on Three we are encountering regular TCP time outs forcing
> our
> application to reconnect every 3 minutes if not data has been sent.
>
> To me a 3 minute TCP time out already seems low. Do we need to be
> polling on a more regular basis just to keep the socket open?
>
> As an aside, do the operators gateways honour TCP Keep-alive packets
> sent from the server to phone? I've tried sending them every 60
> seconds
> but we still see our application having to go through a reconnect
> cycle.
>
> Any pointers welcomed.
>
> S.


Aren't you better off just sending a keep-alive ping once every so often
just to keep the connection open? It does seem a bit strange of Three
to do this as it will break most apps that have any period of inactivity
such as the Nokia Maps application.

Reply With Quote
  #3 (permalink)  
Old 04-03-2008, 10:09 PM
NewsNN
Guest
 
Posts: n/a
Default Re: Keeping a data connection alive on Three

White Knight <white.knight12908@aol.com> wrote in news:ft09nk$1h5f$2
@custnews.inweb.co.uk:

> * Simon Tennant wrote:
>> It's a long shot, but I wonder if someone from Three network ops side
>> can comment (off the record if necessary) on the TCP time outs that
>> their GPRS data connection uses by default?
>>
>> Our application tries to hold open a socket on a Symbian phone and
>> then
>> waits for TCP packets from a server. The sever then pushes events to
>> the phone on a semi-regular intervals. However sometimes an event will
>> not be
>> received inside of 3 minutes and we notice the connection being
>> terminated from the operator's side.
>>
>> We've not encountered this problem on Voda, O2, T-Mobile and Orange.
>> However on Three we are encountering regular TCP time outs forcing
>> our
>> application to reconnect every 3 minutes if not data has been sent.
>>
>> To me a 3 minute TCP time out already seems low. Do we need to be
>> polling on a more regular basis just to keep the socket open?
>>
>> As an aside, do the operators gateways honour TCP Keep-alive packets
>> sent from the server to phone? I've tried sending them every 60
>> seconds
>> but we still see our application having to go through a reconnect
>> cycle.
>>
>> Any pointers welcomed.
>>



Sure it's not a phone setting? My 3 Nokia has data settings for "always
on" or "when needed". The former holds a data connection open (and kills
the battery), the latter only connects when needed by an application, such
as when Mobile Mail checks for messages.

Reply With Quote
  #4 (permalink)  
Old 04-05-2008, 10:02 PM
alexd
Guest
 
Posts: n/a
Default Re: Keeping a data connection alive on Three

On Wed, 02 Apr 2008 01:41:18 -0700, Simon Tennant wrote:

> We've not encountered this problem on Voda, O2, T-Mobile and Orange.
> However on Three we are encountering regular TCP time outs forcing our
> application to reconnect every 3 minutes if not data has been sent.
>
> To me a 3 minute TCP time out already seems low. Do we need to be
> polling on a more regular basis just to keep the socket open?


If you're intending your application to be used on 3G, you're going to be
best off writing it to be robust enough to cope with adverse conditions
[packet loss, latency] or downright non-compliance with the usual
internet standards.

--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx)
21:57:07 up 41 days, 4:50, 2 users, load average: 0.05, 0.03, 0.04
Convergence, n: The act of using separate DSL circuits for voice and data

Reply With Quote
  #5 (permalink)  
Old 04-08-2008, 04:29 PM
TheLongOne
Guest
 
Posts: n/a
Default Re: Keeping a data connection alive on Three

* NewsNN wrote:
> Sure it's not a phone setting? My 3 Nokia has data settings for "always
> on" or "when needed". The former holds a data connection open (and kills
> the battery), the latter only connects when needed by an application, such
> as when Mobile Mail checks for messages.


I read what he wrote to imply that when there is a period of data
inactivity 3 kill the connection. It's not a case of Always On since 3
will terminate the data connection if there is a period of no data. So
the OP's suggestion of sending a keep alive PING may in fact be the only
way.

Reply With Quote
  #6 (permalink)  
Old 04-08-2008, 04:44 PM
Simon Tennant
Guest
 
Posts: n/a
Default Re: Keeping a data connection alive on Three

On Apr 5, 10:02 pm, alexd <troffa...@hotmail.com> wrote:
> If you're intending your application to be used on 3G, you're going to be
> best off writing it to be robust enough to cope with adverse conditions
> [packet loss, latency] or downright non-compliance with the usual
> internet standards.


It is a sorry state of affairs when one has to tunnel everything over
the inefficiencies of polling HTTP. But I take your point and we are
adding a fail back for when connection "bounciness" is experienced.

Reply With Quote
  #7 (permalink)  
Old 04-09-2008, 10:49 AM
TheLongOne
Guest
 
Posts: n/a
Default Re: Keeping a data connection alive on Three

* Simon Tennant wrote:
> On Apr 5, 10:02 pm, alexd <troffa...@hotmail.com> wrote:
>> If you're intending your application to be used on 3G, you're going to be
>> best off writing it to be robust enough to cope with adverse conditions
>> [packet loss, latency] or downright non-compliance with the usual
>> internet standards.

>
> It is a sorry state of affairs when one has to tunnel everything over
> the inefficiencies of polling HTTP. But I take your point and we are
> adding a fail back for when connection "bounciness" is experienced.


The correct fix is to get 3 to fix their systems. You shouldn't be
writing software to get around someone's brain deadness.

Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with T-Mobile data connection and HTC S710 mnetley@gmail.com uk.telecom.mobile 3 07-17-2007 12:00 PM
Verizon Data and MMS G alt.cellular.verizon 6 07-15-2007 08:52 AM
Verizon Wireless thumbs its nose at the iPhone Jeff alt.cellular.cingular 242 07-08-2007 08:32 PM
iPhone data plans: Cheap or pricey? Shelly alt.cellular.verizon 7 06-29-2007 04:50 AM
Wireless connection goes stale eric.goforth@gmail.com alt.internet.wireless 1 10-16-2005 11:51 PM


All times are GMT. The time now is 08:05 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45