Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- io.on('connection', function (socket) {
- console.log("client connected");
- wss.on('open', () => {
- console.log("send processing");
- //line1
- })
- wss.on('message', () => {
- console.log("getting message processing");
- //line2
- })
Add Comment
Please, Sign In to add comment