简体   繁体   English

支持1.0.x的Socket.io Java客户端

[英]Socket.io Java Client with support for 1.0.x

I am writing an Android app that connects to a server using socket.io (v1.0.4). 我正在编写一个使用socket.io(v1.0.4)连接到服务器的Android应用。 Is there a socket.io Java client out there that works with socket.io v1.0? 是否有一个与socket.io v1.0兼容的socket.io Java客户端?

I was originally using the Gottox solution but it only seems to work with socket.io <= v0.92 . 我最初使用的是Gottox解决方案,它似乎只能与socket.io <= v0.92一起使用

Some other libraries available 其他一些可用的库

nkzawa's claims to be supported for 1.0 but there seem to be some issues with it . nkzawa声称支持1.0,但似乎存在一些问题

I got nkzawa's solution working on my server running socket.io v1.0.6. 我在运行socket.io v1.0.6的服务器上使用了nkzawa的解决方案 If you aren't using Maven you have to install quite a few dependencies. 如果您不使用Maven,则必须安装许多依赖项。

I answered this question's duplicate here . 在这里回答了这个问题的副本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM