Hi, Thanks for your concern,
The problem with socketException got solved by putting INTERNET permission in manifest.xml file. 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 its not generating any exception. because of this client is unable to connect to this port I guess host OS is not allowing to allocate these ports. i would like to know what could be the other reasons for this particular problem. and what is the procedure to find free ports on Windows XP machine. Thanks On Dec 1, 5:18 pm, RichardS <[EMAIL PROTECTED]> wrote: > On 1 Dec, 11:44, sal123 <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > I am getting a socketexception , when i am trying to create a new > > socket. may i know the reason for this > > Have you added the permission to your AndroidManifest.xml? Something > like: > > <uses-permission android:name="android.permission.INTERNET" /> > > R --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

