Although I personally haven't done this, I believe the solutions is to forward the port using the redir command inside the emulator. Some quick googling provides some examples like: http://www.blog.droidweb.com/2009/08/developers-tip-7-android-emulator-networking/
On Mon, Jun 21, 2010 at 1:40 PM, xuxu <[email protected]> wrote: > HI all, > I'm trying to open tcp connection between android (emulator) and PC. > I'm trying to create a new socket and then it crash. > the line where it crash: > Socket s = new Socket("10.0.2.2", 27015); // trying to open a socket > Can some one please please help me. > thanks > > -- > 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 -- http://diastrofunk.com, http://developingthedream.blogspot.com/, http://www.youtube.com/user/revoltingx, ~Isaiah 55:8-9 -- 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

