4 ms·
You should wrap your JS in an anonymous function. People can just emit sockets from the console. e.g. socket.emit('msg', "text here");
by javis 13y ago
You should wrap your JS in an anonymous function. People can just emit sockets from the console.
e.g.
socket.emit('msg', "text here");
- JacksonGariety 13y agoabout to push some changes, will include this