我如何保护Socket.IO?
I've been working with Socket.IO for a few days and it's been both extremely exciting and even more frustrating. The lack of current documentation/tut...
socket.io事件和自定义事件
connectiondisconnectcustom-event Are these string available somewhere on the socket object on the server-side? in case the socket object is passed aro...
socket.io在x秒/第一次失败尝试获得响应后停止重新发出事件
I noticed that whenever my server is offline, and i switch it back online, it receives a ton of socket events, that have been fired while server was d...
使用Redis作为PubSub在Socket.io上
I am creating a chat application which enable users to do private and group chats. Planning to use following technologies for this app:- 我正在创建一个聊天应用程序...
在快速路由文件中使用socket.io
I'm trying to use Socket.io with Node.js and emit to a socket within the logic of a route. 我正在尝试将Socket.io与Node.js一起使用并发送到路由逻辑中的套接字。 I have a fairly s...
跨越不同Node.js路由的Socket.io
I am building simple Node.js application that uses the Express Framework as well as Socket.io. I got stuck however trying to receive messages from the...
如何在socket.io nodejs服务器上列出房间
after progress on the question how to create socket.io multicast groups, I found making rooms a great way to do what I needed. 在关于如何创建socket.io多播组的问题上...
模块化Express / Socket.io应用程序
I want to be able to load these 4 functions: returnAvailable, processMessage, removeUser and joinRoom from an external file, but i get reference error...
在node.js中,如何使用socket.io和express设置redis?特别是使用RedisStore()
First Problem I'm trying to figure out sessions, stores, authorization, and redis. If it's important, I am using Express@3.0.0rc4. I understand that ...
使用Express 4模块化Socket.io
I'm trying to modularize my application files and I'm having problems with Socket.io. I would like to use the io inside my routes.js. Something like t...
TWaver HTML5 + Node.js + express + socket.io + redis(四)
在上一篇TWaver HTML5 + Node.js + express + socket.io + redis(三)中,您应该对Node.js的web框架express、实时通讯框架Socket.IO、redis客户端:redis有所了解了。这一篇将介绍TWaver HTML5的拓扑和通用组件功能...
Node.js / Socket.io如何从控制台停止简单的值更改?
I am creating a game where I keep a few variables such as fallingSpeed, runningSpeed etc. Right now my solution to stop the simple console editing in ...
我可以在socket.io中的命名空间中使用房间吗?
I'd like to know whether I can use multiple rooms withing a namespace in socket.io. 我想知道我是否可以在socket.io中使用带有命名空间的多个房间。 As far as I know you can use ei...
Socket.io在Express Route上发出
I want to emit some data to the client when some API route gets called. I have to following code on server.js 我想在调用某些API路由时向客户端发出一些数据。我必须在server.js上关注...
在socket.io中发出不起作用
I created a fairly trivial socket.io project to prove that something seems to be wrong with 'sockets.emit'. 我创建了一个相当简单的socket.io项目来证明'sockets.emit'似乎有...
如何使用Express与Socket.io?
I have the Express code in server JS file: 我在服务器JS文件中有Express代码: app.post('/confirm', function (req, res) { // Here I need to send socket with emit(...
Socket.io从Express控制器发出
I'm quite new to Node.js / Express, and I'm using it as a backend for an AngularJS app. I've looked all over StackOverflow for some help on my problem...
使用socket.io配置Express 4.0路由
I have created a new Express application. It generated app.js for me and I have then created the following index.js bringing in socket.io: 我已经创建了一个新的E...
Node.js - Socket.io - Express 3
I'm a noob to Node.js and Express :( I'm having an issue with accessing the socket.io object in other modules. I have created a global variable to hol...
如何使用Express post请求发出Socket.io或Sockjs?
I know this question is kind of awkward, but the problem comes from Samsung TV 2010 / 2011 SmartTV (and blue ray player; of course 2012 emulator worki...