Problem sending UDP Packets from Android emulator
My friend and I are trying to send a UDP packet from the Android emulator to a server on our wifi network. However, the packet never actually reaches the server. If the server receives it, it should start sending
UDP packets back.
The program we wrote works outside of the emulator inside the windows environment, and using Wireshark, we see that the packet is sent to the correct IP address and the correct MAC address for the server. When we attempt to send the packet from the emulator, the dog does not respond how it should if it received the packet. In Wireshark we can see that the emulator sends the packet to the correct IP address for the dog, but not the correct MAC address. It is sending it to the MAC address of the router we are plugged into.
We want to specify the packet so that it sends to the correct MAC address but we cannot figure out how to do this. Any help would be great.
Thanks in advance!
January 18th, 2013, 10:00 AM