mrniko / netty-socketio

Socket.IO server implemented on Java. Realtime java framework
Apache License 2.0
6.77k stars 1.65k forks source link

Feature/documentation request: A Java socket.io client #43

Open erelsgl opened 11 years ago

erelsgl commented 11 years ago

Is it possible to create a Java socket.io client that will connect to the socket.io server (without Javascript)?

It seems the package contains a SocketIOClient class, so, it's only a matter of documentation - how to use it to connect to a server directly.

pablojr commented 11 years ago

It seems to me that SocketIOClient (beyond being an interface) it's intended to model the clients connected to the server, not to implement a client to connect to another socket.io server

erelsgl commented 11 years ago

I think this can be a nice addition to this already fantastic package.

mrniko commented 11 years ago

pablojr, right! SocketIOClient it's browser-client abstraction and not designed to be a standalon client.

pk11 commented 11 years ago

why not just use this https://github.com/Gottox/socket.io-java-client for this scenario?

erelsgl commented 11 years ago

This is a good solution for the websocket transport, but it doesn't support xhr-polling transport.

On Thu, Feb 7, 2013 at 5:07 PM, Peter Hausel notifications@github.comwrote:

why not just use this https://github.com/Gottox/socket.io-java-client for this scenario?

— Reply to this email directly or view it on GitHubhttps://github.com/mrniko/netty-socketio/issues/43#issuecomment-13239698.