Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Socket.io dynamic rooms

Tags:

socket.io

I am writing an app which creates many dynamic rooms, they should live as long as someone is connected. if all clients disconnect they should be cleared

does socket.io clear such rooms automatically? or do I need to clear them manually somehow?

like image 306
Khaled Jouda Avatar asked Apr 08 '12 00:04

Khaled Jouda


1 Answers

Yes socket.io does clean up rooms when the client is disconnected.

Read more at the git page

like image 69
Martin Avatar answered Oct 22 '22 08:10

Martin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!