I have a socket server with web and iOS clients. And the socket server has multiple namespaces(game/chat/notification). I can connect to the server over one socket on web client by socket.io-client. The socket.id keeps same on each namespace connection to the server while using the web client. But the iOS client needs to create a new socket connection to connect each namespace. And I am having 3 socket connections with different socket.ids. I would like to decrease these socket connections to 1 just like the web client. Is it possible? Or I am on a wrong way?
Hi,
I have a socket server with web and iOS clients. And the socket server has multiple namespaces(game/chat/notification). I can connect to the server over one socket on web client by socket.io-client. The socket.id keeps same on each namespace connection to the server while using the web client. But the iOS client needs to create a new socket connection to connect each namespace. And I am having 3 socket connections with different socket.ids. I would like to decrease these socket connections to 1 just like the web client. Is it possible? Or I am on a wrong way?
Thanks in advance.