jkooker / idimp

Automatically exported from code.google.com/p/idimp
0 stars 0 forks source link

Debug UDP Packet Loss #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We're losing around 12% of packets in NetThrash.

Number the packets and analyze what we're losing.

Original issue reported on code.google.com by jkooker on 9 Dec 2008 at 10:18

GoogleCodeExporter commented 9 years ago
added numbering in r121:

We're losing only one packet at a time, not huge chunks. They're fairly
evenly dispersed, but not consistently the same numbers. And we don't
consistently lose the same number of packets. I do notice that the first
run usually loses the first packet - not sure if that's a clue.

Original comment by jkooker on 10 Dec 2008 at 4:53

GoogleCodeExporter commented 9 years ago
Hmm.  It's probably just the connection then.  Are you testing between the 
simulator
and an iPod touch or between iPod touch and iPhone?  I wonder if the packet loss
would be different between the two?

Original comment by meeshmu...@gmail.com on 10 Dec 2008 at 7:53

GoogleCodeExporter commented 9 years ago
When I tested between two devices, I got mixed results.
- Once, I lost the first 50 packets.
- Once, I lost only 2, and they weren't in a row.
- I also saw a few come in out of order once.

Looks like I'll need to employ some data redundancy in the networking code. 
Closing
this issue, as I think the NetThrash app has been debugged enough.

Original comment by jkooker on 11 Dec 2008 at 2:22