socketio / socket.io-client-java

Full-featured Socket.IO Client Library for Java, which is compatible with Socket.IO v1.0 and later.
https://socketio.github.io/socket.io-client-java/installation.html
Other
5.31k stars 969 forks source link

can i use multiple socket connection ? #745

Open anuragsavaliya1 opened 1 year ago

anuragsavaliya1 commented 1 year ago

hello ALL, can i use multiple socket connection ? is it normal ?

frontend : Android Java backend : Nodejs

issue : socket is disconnect after sometimes. i tried many ways to connect stable . case : when user open app so they connect "globalRoom". [ for transfer call request data , call incme , call decline etc... ] and when user recives call so they connect in "videocallRoom"

here is two room means two socket connection with backed. we have many users so milions of room connected with socket.

i have doubt in multiple rooom connection. So question is : is it good to connect multiple socket with same device to backend or use any single room , connection for this ??