node.js多房间聊天示例 [英] node.js multi room chat example

查看:95
本文介绍了node.js多房间聊天示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找支持多个房间的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:

节点 - websocket-server:可能具有多个单独的广播节目。对于单个node.js进程?

这篇关于node.js多房间聊天示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆