philipDS
philipDS

Reputation: 661

Android Java socket communication with Socket.IO

I'm writing a messaging app. My server is built on node.JS and socket.io. My client should be an Android application. However, I can't seem to find a decent library that gives me a Java interface to Socket.IO (by way of websockets?). Is there some library that exists? Or do I have to fall back on another solution (which one?)?

I've found this library for cocoa: https://github.com/fpotter/socketio-cocoa. Any alternatives for Android?

Thanks!

Upvotes: 7

Views: 22755

Answers (1)

koush
koush

Reputation: 2962

The accepted answer was lacking. They are Java Socket.IO implementations, which require netty, or only had WebSocket support. I ended up writing my own Socket.IO client on top of a lightweight WebSocket client.

https://github.com/koush/AndroidAsync

Upvotes: 14

Related Questions