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 [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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to