code: function(msg) {
          for (var id in openSocketsById) {
            if (openSocketsById.hasOwnProperty(id)) {
              openSocketsById[id].send('0|' + msg + '|null');
            }
          }
        }
docs: Send the same message to every open socket