Broadcasting messages in Socket.IO June 16, 2019 Server var io = require('socket.io')(80); io.on('connection', function (socket) { socket.broadcast.emit('user connected'); }); References https://socket.io/docs/#Broadcasting-messages Related