selay
selay
doesnt work on 1.3.6 The following example works fine if no namespace or namespace is set to '/'. If you set namespace like '/mynamepsace'. Won't work. socket.join('test room'); console.log(io.sockets.adapter.rooms);
It still happens on the latest version 1.3.6
Closing this issue as it is due to the undocumented bad convention rather than coding bug. Rooms added from within namespace is not available in the global namespace, and also...
Yes, using socket id as key (or property if you prefer to call it an object) in "associated array". As you know, socket id is the default room for each...
Yes, you need to hack any component or module that references integer-indexed array. Any conversion can be a big overhead. The modules or adaptor use what socket.io uses, so dependencies...
Did you test memory usage? I don't think it is a good idea to convert for-in loop. for-in loop is pretty efficient (both in memory utilization and performance), better-supported, general-purpose,...
I guess anyone who used socket.io in production environment has already or will soon run into this issue. Changing loop types, global to local variables etc. will not provide much...
Just in case you still reach this page from Google search, you can call reset() method on the instance. slider.noUiSlider.reset();