io.on("connection", function(socket){
...
socket.on("join", function(id){
socket.join(room);
socket.broadcast.to(room).emit("joined", ...);
...
});
...
});
socket.broadcast.to(room).emit("joined", ...);
haven't any effect
it doesn't emit to the room the event
i've already tried to use:
socket.to(room).emit("joined", ...)
socket.in(room).emit("joined", ...)
io.sockets.in(room).emit("joined", ...);
io.to(room).emit("joined", ...);
io.in(room).emit("joined", ...);
i'm using socket.io server v1.3.7
any solution?
I've searched on github and nobody knows the origin of this problem..
Probably is a systematic problem of socket.io.