node.js 多房间聊天示例 [英] node.js multi room chat example
问题描述
我正在寻找支持多个房间的 websocket/node.js 聊天实现.
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.
谢谢.
我知道有一个服务 http://pusherapp.com 提供这项服务,但我正在寻找一个开源示例.
I know there's a service http://pusherapp.com which provides this service, but I'm looking for an open source example.
推荐答案
我意识到您还没有收到问题的解决方案.建议在我提供答案的地方查看这个问题:
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:可能有多个单独的广播";对于单个 node.js 进程?
这篇关于node.js 多房间聊天示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!