All Questions
12 questions
0
votes
1
answer
66
views
Why am I not seeing any input on this server-client setup?
I'm trying to use socket.io for a work project. In order to learn how this library works, I want to setup a test server and client in which I can run some code.
For now, I have set up a working ...
1
vote
0
answers
312
views
Multiple socket io client connections in java
I have to implement client functionality using https://github.com/socketio/socket.io-client-java. I have socket.io nodejs server 4.x version. I want to establish around 300-700 socket connections ...
2
votes
0
answers
755
views
Java socket io client connection disconnects
I have implemented socket.io client side in java spring boot using https://socketio.github.io/socket.io-client-java/installation.html, with thread pool executor. Now my socket connections are build ...
1
vote
1
answer
3k
views
Send custom header in Socket.io-client
I have an issue while sending the custom header in socket.io-client. Everything is okay at server side integration/code because iOS code is working fine. Here is code which I have in iOS:
let manager ...
1
vote
1
answer
73
views
Using SharedPreferences data in Application class
I am developing an app and I use Socket.io on it, I initialize the socket in a class that extends Application and looks like this:
public class Inicio extends Application{
private Socket mSocket;
...
0
votes
0
answers
498
views
How to listen to a tcp port using socket io?
I have an application which is writing on a port(TCP message using spring-integration tcp-outbound-channel on a particular port). I want to write a listener which will listen and validate the message ...
1
vote
0
answers
480
views
How to make Java Socket.IO client decode/encode binary, not json?
I'm using Socket.IO client library from this repository: io.socket:socket.io-client:1.0.0 and server library from this com.corundumstudio.socketio:netty-socketio:1.7.12.
I'm emitting a simple data ...
-1
votes
1
answer
944
views
How do I use socket.io-java-client java
I designed a chat application to support a store. The chat is very important for the store because it sells and trade items, so there's lot of communication. There's two end-points, the website that ...
0
votes
1
answer
1k
views
java.io.IOException: unknown format
I use the code below to decompress coming data that is arrived via socket.io.
When decompressing data which has been sent as compressed the code below works great. (Pseudo data which is sent from ...
1
vote
1
answer
1k
views
Socket.io listen to room without join
I'd like to broadcast a message to everyone that listen to this room, not only who join the room.
I do receive another call from server but I didn't get any call for this 'room' listener.
Server: ...
4
votes
1
answer
4k
views
How to use callback on a socket.io CLIENT?
I want to callback the server to ack that my client has received a call. In the opposite direction, this is heavily documented and working fine, but how can I ack from the client?
NB: I am using ...
-1
votes
1
answer
3k
views
Android socket.io client
I'm trying to set up a android socket.io client, but I'm having some difficulties. Right now I'm using this library:https://github.com/nkzawa/socket.io-client.java and everything is working great when ...