But now i am encountering a new problem as follows

i have created Serversocket as follows


ServerSocket clientListenerSocket = new ServerSocket(9999);


But i dont see  port# 9999 being in listening state when i do
"netstat
-a" on windows XP machine.Strange part is that its not generating any
exception. because of this my client on another host is unable to
connect to the this server emulator


Problem here is the socket is not listening on any interface ,  I
guess host OS is not allowing to allocate these ports. and morover i
am confused about port redirection concepts of android


i would like to know  following stuffs,

1. Will the above server code work for android without specifically
binding to any particular interface.(as SDK document states IP address
of emulator is different from that of development machine)


2 what could be the other reasons for this particular problem.

3. what is the procedure to finding  free ports on Windows XP
machine.


Thanks



--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to