Socket.io Java Client with support for 1.0.x

筅森魡賤 提交于 2019-12-25 02:46:27

问题


I am writing an Android app that connects to a server using socket.io (v1.0.4). Is there a socket.io Java client out there that works with socket.io v1.0?

I was originally using the Gottox solution but it only seems to work with socket.io <= v0.92.

Some other libraries available

  • https://github.com/koush/AndroidAsync
  • https://github.com/nkzawa/socket.io-client.java

nkzawa's claims to be supported for 1.0 but there seem to be some issues with it.


回答1:


I got nkzawa's solution working on my server running socket.io v1.0.6. If you aren't using Maven you have to install quite a few dependencies.

I answered this question's duplicate here.



来源:https://stackoverflow.com/questions/24988020/socket-io-java-client-with-support-for-1-0-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!