Alex Rivera | Logout

Java socket.io client

Asked 2011-04-25T20:46:57.893
28

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.

Edit
Report

2 Answers

3

Judging from http://socket.io under "Supported Transports" it could be several different transport protocols:

WebSocket, Adobe® Flash® Socket, AJAX long polling, AJAX multipart streaming, Forever Iframe, JSONP Polling

So, the question is, what is your server supporting?

From the perspective of Java clients the easiest would be WebSockets.

answered 2011-04-25T21:08:44.590
2

If you need a client side implementation, checkout java-socket.io.client I made it a few months ago and I believe some people have forked it and upgraded it to the latest version: https://github.com/clwillingham/java-socket.io.client

answered 2011-10-07T19:50:54.620

Your Answer