Hi,

I'm thinking of building an android client as part of my project
within my studies. The server uses Netty (http://www.jboss.org/netty/)
to communicate. Therefore I need to evaluate whether Netty runs on
Android before the implementation phase starts.

I tried to implement some netty examples (http://www.jboss.org/netty/
documentation.html) with the server running on my Mac and the client
running in the android emulator.

In the SecureChat example I get "ERROR/OSNetworkSystem(272): unknown
socket error -1" from the line

ChannelFactory factory = new NioClientSocketChannelFactory
(Executors.newCachedThreadPool(), Executors.newCachedThreadPool());

and then the "ChannelPipelineException("Failed to initialize a
pipeline.", e);" when trying to connect.

The Echo example also outputs 2 "unknown socket error -1" errors.


Can anybody confirm that Netty can run on Android? Are the errors my
fault? If yes, what could be the reason?

--~--~---------~--~----~------------~-------~--~----~
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