开发者

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 开发者_如何学C(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!


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜