I’m working with socketio and netty with java and I’m new to both of them. my client side code looks like this. The event handler is as shown below. The server starter code is shown below. I’m getting a connection registration on the OnConnect annoted method, but the method seems to run two times cause I get the log twice
Tag: socket.io
Java socket.io client
Is there any Socket.IO-client available for Java? So far I have only found the official Socket.IO client which is only available for JavaScript and socket.io-java which is only the server. Answer Limited options at this time: http://code.google.com/p/weberknecht/ https://github.com/TooTallNate/Java-WebSocket https://github.com/Gottox/socket.io-java-client sound right as far as WebSockets go. Socket.IO’s specific wire protocol do not appear to have been implemented in Java yet,