socket.io-client-java
socket.io-client-java copied to clipboard
Full-featured Socket.IO Client Library for Java, which is compatible with Socket.IO v1.0 and later.
im android developer please let me know how can i send image in socket chat ?
I am trying to unit test the SocketIO connection established using RxJava2 from Android Studio. Although I have added `TrampolineScheduler` as a rule but still it throws the following error...
Hello. Please help me. Android Socketio "io.socket:socket.io-client:0.9.0". Server: netty-socketio/1.7.7 aways from onConnect is ok to diconnected transport error。May not upgrade to websocket。Anybody encountered the same problem?Pelase help。Thank U
I can connect to a port and i can listen or emit datas. But i can't disconnect. I've called disconnect() and also socket.off() but i couldn't disconnect. Actually socket can...
Hi, Below is the code which I have used for socket connection. IO.Options opts = new IO.Options(); opts.forceNew = true; opts.reconnection = true; opts.reconnectionAttempts = 99999; opts.reconnectionDelay = 5000 *...
i am implementing chat app using this socket io. its working fine now i am getting one issue is that socket reconnecting again and again if socket connection off, i...
Exception java.lang.StringIndexOutOfBoundsException: length=1; index=48 java.lang.String.indexAndLength (String.java:500) java.lang.String.charAt (String.java:494) com.github.nkzawa.socketio.parser.Parser$Decoder.decodeString (Parser.java:211) com.github.nkzawa.socketio.parser.Parser$Decoder.add (Parser.java:148) com.github.nkzawa.socketio.client.Manager.ondata (Manager.java:339) com.github.nkzawa.socketio.client.Manager.access$100 (Manager.java:19) com.github.nkzawa.socketio.client.Manager.access$302 (Manager.java:19) com.github.nkzawa.socketio.client.Manager.access$600 (Manager.java:19) com.github.nkzawa.socketio.client.Manager.access$1100 (Manager.java:19) com.github.nkzawa.socketio.client.Manager.access$1200 (Manager.java:19) com.github.nkzawa.socketio.client.Manager.access$1300 (Manager.java:19) com.github.nkzawa.socketio.client.Manager.access$1400 (Manager.java:19) com.github.nkzawa.socketio.client.Manager$2.call (Manager.java:312)...
After disconnecting socket, it keeps listening and runs **call(Object... args)**. For connection: Global.socket.on(Socket.EVENT_CONNECT, new Emitter.Listener() { @Override public void call(Object... args) { if(Global.socket != null && Global.socket.connected()){ Global.socket.emit("deviceTokens", jsonObject); String...
I am Emitting some messages to server appended with emoji's, if i append certain emoji's to that messages its not getting delivered to server. other than that emoji's others are...
If the program is started when there is no internet available, the EVENT_CONNECT_ERROR is, as expected, emited for that socket, and it tries to reconnect. However, once the internet is...