Socket.io Java客户端与1.0.x的支持 [英] Socket.io Java Client with support for 1.0.x

查看:185
本文介绍了Socket.io Java客户端与1.0.x的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写一个Android应用程序,连接到服务器使用socket.io(v1.0.4)。是否有一个socket.io Java客户端,在那里,与socket.io V1.0的作品?

我本来使用 Gottox的解决方案,但它只是似乎与socket.io&LT工作; = V0.92

提供一些其他库

nkzawa的索赔1.0被支持,但似乎有一些<一个href=\"http://stackoverflow.com/questions/24386302/java-implementation-for-client-socket-io-compatible-with-version-1-0\">issues它的。


解决方案

nkzawa的解决方案工作运行socket.io 1.0.6我的服务器上。如果你不使用Maven,你必须安装相当多的依赖关系。

我回答了这个问题的重复这里

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

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

解决方案

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.

这篇关于Socket.io Java客户端与1.0.x的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆