'I want to know how to get all values from all sockets in socket.io

let iterator = io.of("/").sockets.values(); enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source