I have 4 sockets in a room. How can I link the sockets? I want to use it like this:
socket1 = param1;socket2 = param2;socket3 = param3;socket4 = param4;allSockets = ???allSockets.on('', function(...)...)
Thanks for the answer :)
Aucun commentaire:
Enregistrer un commentaire