Hello,Thanks in advance! I have Looked at the documentation but cant seem to find a way to do this.I have two socket.io servers, one running on port 3000 and the other on 3001Is there a way to disconnect from one then reconnect to a different server without callingsocket = io.connect('http://localhost:3001'); As this removes all the listeners that I already have - i'm guessing because it's creating a new object?.To be clear, I do not want to connect to both simultaneously.Thank you so much 🙏
Submitted February 07, 2020 at 10:44PM by StanFlint
No comments:
Post a Comment