Quantcast
Channel: 2D Latest Topics
Viewing all articles
Browse latest Browse all 623

socket.to(socket.id).emit - Not Working

$
0
0

It seems that to send a private message to a player, you are supposed to use socket.to(socket.id).emit. 

I need to emit an image to a specific player so am using this concept, however it doesn't seem to work. 

Would anyone know how to emit an image to a specific client?

Thanks!


Viewing all articles
Browse latest Browse all 623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>