Rick
Rick

Reputation: 31

Receive only a handful of UDP packets after a redir. (Android Emulator)

I wrote a desktop java program to talk to the server I'm trying to reach and got it working. I can send and receive UDP packets. I know what to port what I've done to android. I've been messing around with the Android Emulator for a couple days and ran into an issue with receiving UDP packets. If I start my app, make the connection to the server, then redir the port I'm using, I get ~130 packets that come in and then nothing ... I used WireShark to make sure the server was still sending packets and it is. Is there something like IP Flood Detection on the Android's Emulator?

EDIT:

spelling

EDIT

Upvotes: 3

Views: 812

Answers (2)

Rick
Rick

Reputation: 31

I bought a Nexus 7, ran this app I've been working on and can receive 3000+ packets. Looks like its something with the emulator.

Upvotes: 0

Luis
Luis

Reputation: 12058

I did a test with similar setup and got the same behaviour.

Sending a UDP packet per second after aprox. 130 packets the receiver running in the emulator stop receiving packets, and I confirm that the packets kept being sent.

I've made the test above in emulator using SDK 10 and SDK 15, both running in Intel Accelerated Execution Manager.

It looks like a bug in the emulator redirection functionality, or as you suggest, some type of network flood prevention.

Upvotes: 1

Related Questions