I\'m trying to work the Redis Cookbook example:
var http = require(\'http\'),
io = require(\'socket.io\')
fs = require(\'fs\'),
redis = require(\'redis\'),
rc =
I believe that the example from that book is missing something, I also read that book and wondered. You are subscribed to the Redis channel and are waiting for messages on the server side, but you never publish to that channel. What is missing is an event listener so when there is a websocket message, you publish that message to the redis channel.