![]() |
Re: [sandbox] 3G Throttler (Battery Saver)
Quote:
They doesn't work as well as protocols which detect a failed connection and restart, like IM protocols, but they do work. I use a VPN to reach my server from my laptop for this reason - so that I can continue with SSH connections after the IP connection has broken and restarted with a different IP when tethering through a phone. But I found that it can take an annoyingly long time after the connection is restarted before the SSH will resume. This is not due to SSH, but due to TCP sometimes not responding quickly to a resumed underlying connection, once it's got into slow retransmit mode. Once it has recovered, it's fast again. Now I use GNU Screen on the server and that's much better :) Quote:
The key words are "in flight". Take a peek at this netcat trace: Code:
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 The ethernet cable was removed from the laptop after opening the connection, and before typing "x" and therefore before the write() call. There is no significance to the fact it's using an SSH port, because what happens remotely is irrelevant once the cable is removed TCP tried to transmit the packet containing "x" for about 15 minutes, before giving up and reporting ETIMEDOUT. It took about 15 minutes - I'd mistaken the 120 seconds for something else. Oops :) Here is the reason for 15 minutes: Code:
tcp_retries2 - INTEGER If you don't have data in flight, and no keepalives or applications timeouts, this doesn't happen - you can indeed resume any amount of time later. That's a basic property of TCP/IP. But most application protocols do, of course, transmit something from time to time - otherwise they wouldn't be able to tell the difference between a temporarily lost link and one which is permanently gone, to be cleaned up. |
Re: [sandbox] 3G Throttler (Battery Saver)
Anyone interested in this now the N900 is out? It would be so much better than toggling it yourself. It just needs to toggle to 3G when certain apps are open/opened then toggle back when specified apps are closed..
|
Re: [Under consideration] 3G Throttler (Battery Saver)
+1 to that ^
|
Re: [Under consideration] 3G Throttler (Battery Saver)
I was thinking of this app ever since I found out that you could toggle between 2g/3g connections (and that was the first day I got the phone when it was launched at the uk nokia store)
I think this is an excellent idea. Do developers really need convincing that such functionality is really worth consideration at all?.....of course it is..... come on now guys or girls....it'll be an absolute godsend! The phone should default to 2g mode and when the browser is activated then it automatically switches to 3g. When the browser is closed there should also be a timeout then the phone reverts back to 2g mode. some other fancy options should include that when a particular application is started, should it need to retrieve data from the internet, then a setting should allow the user to again automatically switch to 3g. A tyical application which would be a good candidate for this functionality would be something like a stock trading program which constantly looks for live data feeds. C |
Re: [Under consideration] 3G Throttler (Battery Saver)
I think that's all covered by Shepherd.
|
All times are GMT. The time now is 04:00. |
vBulletin® Version 3.8.8