СОКЦЕТ IO поток

// to all connected clients
io.emit("hello");

// to all connected clients in the "news" room
io.to("news").emit("hello");
Puzzled Puffin