1293 gün önce node js, socket.io oda ve özel mesaj
sorusunu cevapladı.
Sorunun kısa cevabı budur
socket.join(room_name);
socket.on('chat message', function (msg) {
io.to(room_name).emit('chat message', msg);
});
1293 gün önce node js, socket.io oda ve özel mesaj
sorusunu cevapladı.