Which client version is supported?
<dependency>
<groupId>com.corundumstudio.socketio</groupId>
<artifactId>netty-socketio</artifactId>
<version>1.7.22</version>
</dependency>
Which client version does the server 1.7.22 support at most?
"socket.io-client": "^2.5.0" ? "socket.io-client": "^3.1.3" ? "socket.io-client": "^4.5.2" ?
I can only use 2.5.0
Can 4.5.2 be used? Can you give me an example if you can?
Pls tell me. Thx
顶
If you don't care about the minor encoding mechanism for binary body, you can give it a try now using the latest version of socketio client. I only fix the reversing of ping/pong mechanism: https://github.com/mrniko/netty-socketio/pull/858
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
I have the same question too. And I've tried to use the latest socket.io-client 4.5.2 but then I got this error from the "connect_error" event: It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/). Please let me known if you have the solution.
I have the same problem, not able to connect using socket.io-client v3.x or v4.x, but seems to work with v2.x
I have the same problem. using the latest api and still not support client v3&4

It seems we can only use socketio 2.x version for out client. It really sucks and frustrats me.
Is there a good way to solve this problem for Java?
At the moment only 2.x version is supported
Any plans to support newer versions @mrniko? Or do we have at least which changes are required to?
1.0.1 and 1.0.2 java clients are compatible with 1.7.22 but this server has disconnect issue. Server 1.7.8 is working fine as of now.
@rfermontero
Sorry, no plans so far.
1.0.1 和 1.0.2 java 客户端与 1.7.22 兼容,但此服务器存在断开连接问题。服务器 1.7.8 目前运行良好。
Any plans to support newer versions @mrniko? Or do we have at least which changes are required to?
you can try to change transport to websocket
在 com/corundumstudio/socketio/protocol/PacketEncoder.java:298 位置加一个sid的json字符串即可解决客户端这个报错: connect_error Error: It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible
4.0 https://github.com/mrniko/netty-socketio/pull/897