I'm fallowing socket.io documentation for create a chat with Room system, but when I execute fallowing code in client side, it returning "undefined"
io.to('some room').emit('some event'); // this will returning "undefined"
Because io not has function to()
Where is problem?
Aucun commentaire:
Enregistrer un commentaire