Channels in Socket.io

Posted by mat3001 on Stack Overflow See other posts from Stack Overflow or by mat3001
Published on 2010-05-18T16:36:36Z Indexed on 2010/05/18 16:40 UTC
Read the original article Hit count: 319

Hi,
I am trying to broadcast a message through the Node.js service socket.io (http://socket.io/) to certain subset of all subscribers.

To be more exact, I would like to use channels that users can subscribe to, in order to efficiently push messages to a couple hundred people at the same time.

I'm not really sure if addEvent('channel_name',x) is the way to go.

I have not found anything in the docs. Any ideas?

Thanks Mat

© Stack Overflow or respective owner

Related posts about node.js

Related posts about socket-programming