You need to add the INTERNET permission to your app in the Manifest.
That should solve the issue

On 1 Dez., 15:27, sal <[EMAIL PROTECTED]> wrote:
> 1. Can anyone point me to simple TCP client/server program on
> android ??
>
> 2. Whenever i try to create socket with port and IPaddress i get
> IOException which points to a SocketException which gives a message
> "unknown socket error -1" , it would be nice if someone could tell the
> root cause for this problem. i guess this is something to do with TCP
> settings of emulator.
>
> 3. Do we need to have any configuration changes to Emulator or
> androidmanifest.xml file to eliminate this problem ?
>
> 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