Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java socket.io client

Tags:

java

socket.io

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.

like image 908
Teo Klestrup Röijezon Avatar asked Apr 25 '11 20:04

Teo Klestrup Röijezon


People also ask

Can I use Socket.IO with Java?

IO-client Java. This is the Socket.IO Client Library for Java, which is simply ported from the JavaScript client.

What is Socket.IO client?

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.

What is the difference between Socket.IO and Socket.IO client?

socket-io. client is the code for the client-side implementation of socket.io. That code may be used either by a browser client or by a server process that is initiating a socket.io connection to some other server (thus playing the client-side role in a socket.io connection).


1 Answers

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, so you may have to deal with that yourself.

like image 113
Femi Avatar answered Sep 21 '22 10:09

Femi