View Single Post
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#124
Originally Posted by mclarson View Post
Interesting. I agreed with azstunt's detection method but did not think too hard about it as it felt right. Conversely I find it hard to believe there are no TX packets - what about email checks, weather updates or whatever..
In this case, for me, that's not an idle connexion. I consider an idle connexion as a connexion which is not used by any programs running on the device. If your device checks emails, you do not have to close the connexion.

Maybe in the end we're just using a different definition for the term "idle".

Originally Posted by mclarson View Post
For a bulk download relativey tiny ACKS would be sent, ie tiny sample, but would have lots of rx, ie big sample. My *idle* connection does about 2k per minute - there /must/ be tx in there but I've not checked what that traffic is.
I totally agree with you. Of course there will be a lot more RX than TX packets. But you will have several TX packets and then, enough to detect that the connexion is active and used.

What are your 2k per minute used for ? Emails ? Weather update ? Then again we are not using the different definition of the term 'idle'.

Anyway that's interesting because we have both different needs and it has to be taken in account to make a generic app for that.

Thanks again for your feedback!

Last edited by calvin_42; 2010-02-12 at 03:47. Reason: Spelling