title: Nodejs ZMQ monitoring sockets
body: <p>I got this code for monitoring sockets in the zmq bindings for nodejs. So far it works but my problem is I dnt know what events the monitoring socket has. The code I got only did that, I will continue looking for more code but this is what I have so far..
  ``</p>
  
  <pre><code>var zmq = require('zmq');
  var socket = zmq.socket('pub');
  socket.connect('tcp://127.0.0.1:10001');
  socket.monitor();
  </code></pre>
  
  <p>I tried adding an "onmessage" event handler but it showed nothing, so.. I dnt know whats up..</p>
  
  <pre><code>socket.on("message",function(msg){
      console.log(msg);
  });
  </code></pre>