Hello, Actually this redir we have already tried, but still getting the same issue. I am using Android 1.5, so did you got this running in 1.5 also ?
If yes what all is required to be done using Android 1.5 I tried it in Android 2.0, but there iam not able to push my entire libraries, as it gives an error as : on emulator-5554: No space left on device. Any solution for this issue, to increase the space of /system/lib Waiting for reply, -Gopish On Nov 17, 9:17 pm, Josh Patterson <[email protected]> wrote: > Gopish, > On the host machine that runs the emulator, open a terminal window and > telnet to the emulator instance: > > telnet localhost 5554 > > This will take you into the ADB emulator console. Then setup packet > forwarding on the port you are sending udp packets to: > > redir add udp:<host machine port>:<emulator listen port> > > example: > > redir add udp:4444:4444 > > This will then have the emulator "listen" on your local machine's port > 4444 for UDP packets, and forward those to the emulator's ETH adapter > on port 4444 (which can be changed to whatever you need). > > I havent tried this with other external machines, but I struggled > getting this to work for a while. Also, any "servers" listening for > packets inside android (2.0) should be listening on IP 10.0.2.15 > (android emulator's own Eth adapter), and in this case on port 4444. > > In the case where you want to broadcast UDP packets out of the android > emulator to the local machine, you wont need to setup a port redir, > but you will want to send them out to IP address 10.0.2.2 as this is > the "loopback" address on the host computer, and you can send them > directly to the port it is listening on. > > It takes some getting used to and isnt terribly straightforward, but I > eventually got it working. Hopefully this helps. > > Josh Pattersonhttp://jpatterson.floe.tv > > On Nov 17, 9:07 am, "Gopi$h" <[email protected]> wrote:> From a remote > machine we are sending some UDP packets to our Android > > emulator. We are able to see the UDP packets reaching the host > > machine, but not able to reach the emulator, In Wireshark we are > > getting "Destination port unreachable" > > > The port we are using is:49152 and static ip at both ends > > > Is this port supported by android emulator? > > What is the solution to get UDP packets to be able to reach till the > > emulator? > > > Kindly give solution for the same, > > Thanks in advance, > > -Gopish -- 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

