Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- io.on('connection', function (socket) {
- socket.on('my_event', function (my_param) {
- socket.emit(my_param.toUpper())
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement