Closed vivekkumar27june88 closed 6 years ago
Why do you want to do that? You cannot know if the new connection comes from an existing client or not, if you do what you say, I can close A connection by connecting from B with same ID.
Hi @kidandcat, Thanks for your response. You can close this issue.
I had posted this question long back. That time I had managed to change the code locally for our purpose.T
I want to modify the peerjs server code so that if a connection event come for existing client id then I first close the existing client, clean up entries from
_clients
and_ips
and then call the_configureWS
for this new socket.Question: