Sending message to specific client in Socket IO

前端 未结 3 1555
我寻月下人不归
我寻月下人不归 2020-12-22 18:26

I\'m using Socket IO v1.4.5 and have tried 3 different ways below but dont have any result.

client.emit(\'test\', \'hahahaha\');
io.sockets.socket(id).emit(\         


        
3条回答
提交回复
热议问题