You will need to setup a network redirection, see http://code.google.com/android/reference/emulator.html#emulatornetworking
On Mon, Feb 2, 2009 at 6:57 AM, zcj0429 <zcj0...@gmail.com> wrote: > > Hi, everyone: > How can my host machine connect to emulator using socket? In my > application, I need emulator to open a server socket, then host > machine connects to emulator as a client. But when host creates the > socket using "10.0.2.15:xxxxx" (xxxxx is the port which emulator is > listenning), it doesn't work. I think maybe the address"10.0.2.15" > goes wrong. Is it a local address behind the "virtual router" and the > host can't find? If so, how to find a correct IP address of emulator? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---