I can't figure out how to do the equivalent of socket.broadcast.emit but using the net module of node.js instead of socket.io. I'm trying to connect a flash front end using flash built in socket libraries and node.js. I'm finding it quite hard to find a good example. 

I managed to connect using the net module, but I'm not sure how to emit to all clients connected. Any ideas?