Thanks,
that permission did it!

Still have some trouble with Netty, but hopefully will solve them on
the Netty Mailinglist.


On 15 Dez. 2008, 23:46, Mark Murphy <mmur...@commonsware.com> wrote:
> Monk wrote:
> > In the SecureChat example I get "ERROR/OSNetworkSystem(272): unknown
> > socket error -1" from the line
>
> > ChannelFactory factory = new NioClientSocketChannelFactory
> > (Executors.newCachedThreadPool(), Executors.newCachedThreadPool());
>
> Did you add the INTERNET permission to your AndroidManifest.xml file?
>
> "Socket error -1" frequently is due to that missing permission, though
> there may be other causes IIRC.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to