I'm trying to open socket between Android (emulator) and PC and i
can't get it works....

i  have the client on PC also and i tried to move it to an Android
program but it crushed...

it crushed when i tried this:

socket = new Socket(serverIp,7000);

i tried serverIp as "localhost", "10.0.2.2", "127.0.0.1" but nothing
worked... (on the Pc client it was "localhost")

when the same code runs on a PC client it works just fine...

so.. how can i open a socket on an android program?

thanks in advanced

-- 
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