I am looking for a simple Socket.IO server written in Java.
I am familiar with this one, but it has a dependency on servlets, which I am not using in my application.
I am looking for something similar to this, but supports all of the Socket.IO protocol, not just the WebSocket part.
EDIT: this also means no Jetty, etc.
IO-client Java. This is the Socket.IO Client Library for Java, which is simply ported from the JavaScript client.
Socket.io, and WebSockets in general, require an http server for the initial upgrade handshake. So even if you don't supply Socket.io with an http server it will create one for you.
Socket.IO is a library that enables low-latency, bidirectional and event-based communication between a client and a server. It is built on top of the WebSocket protocol and provides additional guarantees like fallback to HTTP long-polling or automatic reconnection.
Is it possible to use socket.io without any node. js dependencies? The short answer is yes. You will however have Flash dependency.
Try this lib:
https://github.com/mrniko/netty-socketio
Based on high performance socket lib Netty.
It supports latest protocol of Socket.IO server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With