1

I need to create a web-socket server, I am planning to use em-websocket. I need to support private channels, that is I should be able to send message to one particular channel or subscriber.

There are many good chat examples that are in broadcast mode ie. they send the response to all the connected clients but I need to track each connected client somehow, and respond to each one separately. In other way, I need one private channel for each client so that I can respond to each client separately instead of broadcasting to all connected ones, make each web-socket connection unique

Can anyone guide me to right direction for implementing this or may be some example or gist.

Regards.

roxxypoxxy
  • 2,973
  • 1
  • 21
  • 28

0 Answers0