Areej Fatimah
Areej Fatimah

Reputation: 261

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 using threadpool ThreadPoolExecutor in a loop after some fixed delay. I have tried to implement this, the socket connections to server established but after sometimes got disconnected.Please help me figure the root cause of the issue of disconnections. I have tired

In all above cases, disconnections appear after few seconds. Is there some sort of socket object ttl expiration, connection timeout, or server & client are not sending any data in some time, so due to inactivity the disconnections appears? How to keep connections sustained?

Upvotes: 1

Views: 312

Answers (0)

Related Questions