View Single Post
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#125
Originally Posted by azstunt View Post
It may be wrong for me to answer but since most of the operational code of mclarson seems to be derivated from mine, I'll answer point 3. Put bluntly, your script doesn't fully work for me. When using my wi-fi at home the n900 receives 1 packet of 42 bytes or so every 20 (aprox) seconds. I've tested other 2 wi-fi spots and got another similar situation and another one where I don't receive any packets (and your script would work). Same configuration in the device. That's why I decided to use a small amount of bytes to asure the connection is idle and those are random packets.
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.

Originally Posted by azstunt View Post
I don't use TX due to the low traffic and the possible erroneous disconnections that it may cause.
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).