I have a problem with the creation of a socket server that listen on a
port and run on phone.

When my code run this istruction

                        InetAddress serverAddr =
InetAddress.getByName("192.168.1.103");
                        server = new ServerSocket(9999,5,serverAddr);
there is an exception on the second istruction:

IOException - Java.net.BindException. Cannot Assign requested address
- 192.168.1.103

The address is on WIFI connection and is correct (i'm sure).

Why doesn't work ?

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

Reply via email to