node.js multi room chat example


Question

I'm looking for a websocket/node.js chat implementation which supports multiple rooms.

I'm also going to write an app which needs multiple rooms or servers, and I'm just looking for some code samples of how people do it.

Thanks.

I know there's a service http://pusherapp.com which provides this service, but I'm looking for an open source example.

1
62
8/31/2010 5:10:33 PM

Accepted Answer

I realized that you have not yet received a solution to your issue yet. Suggest looking at this question where i have provided the answer:

node-websocket-server: possible to have multiple, separate "broadcasts" for a single node.js process?

6
5/23/2017 10:29:40 AM

tested and working great:

https://github.com/mmukhin/psitsmike_example_2

(node.js and socket.io multiroom chat tutorial with 17 stars on github)


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon