View Single Post
Posts: 43 | Thanked: 32 times | Joined on Jan 2010
#132
Originally Posted by calvin_42 View Post
Hey azstunt!

Thanks for the feedback. I didn't asked to you directly because I knew what your answers would be (I have read all your interesting previous posts).

Do you think you could you try to identificate the origin of the 42 bytes ? I'm curious and it would help me to understand the process. I just ran a few tests with my home wifi connexion but unfortunately I didn't log any received or sent packets on my device. That's why I assumed my script worked.



As I said before, even if they are a lot more RX packets than TX, I am pretty sure the proportion is the same (TCP needs feedback from the recipient).
Sincerely, I have no idea where these packets are coming from, I've already checked for anything that might be connecting or updating, do you know any command to check actual connections?

You could always keep your script as it is, I mean, in theory that's the way it should work. But considering that you are making an app for end-users, I believe it would be wise to know why it may not work for everybody and how to fix it. Having said that, it may be just for me, so I won't draw any conclusions until many people have tested if they receive or send packets when not using the connection.


PS: My n900 not only receives 1 packet of 42 bytes every 20 seconds or so, it also sends 1 packet of 60 bytes at the same interval. I had not payed attention to TX since I was not using it in my script.