Sorry...found my problem.

Though I had the same code running in host and emulator the main is different which is where I start my UDP thread to receive packets.

In case someone hits this thread I mentioned redir command incorrectly in the post. Correct way is
"redir add udp:<hostport>:<emulatorport>"
After telnet help command is helpful.

Thanks
lb

On , lb <[email protected]> wrote:
Hi All,



I'm running UDP application in host and emulator. My host is Fedora13

and emulator is running on same host.



The Host application receives UDP msg on 192.168.1.3:9020 from

192.168.1.3:32456 (from emulator).

Now from host I tried to send response to the emulator at

192.168.1.3:32456 but it doesn't seem to get to the emulator.



I see those two packets in wireshark and no icmp destination

unreachable. I also tried to setup redir as below:



1. Telnet localhost 5554

redir add udp:9010 udp:9099



In wireshark I see message arriving from 9010 (if I remember

correctly) and I send the response back to the same port and still

doesn't work. No errors spotted in wireshark.



Should I try telnet 192.168.1.3 5554 (emulator port) and set port

redirection.

Thanks in advance.

lb













--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to