• Pieter Hintjens's avatar
    Problem: zmq_socket_monitor code is dirty · 9753de85
    Pieter Hintjens authored
    Specifically:
    
    * zmq_event_t should not be used internally in libzmq, it was
      meant to be an outward facing structure.
    
    * In 4.x, zmq_event_t does not correspond to monitor events, so
      I removed the structure entirely.
    
    * man page for zmq_socket_monitor is incomplete and the example
      code was particularly nasty.
    
    * test_monitor.cpp needed rewriting, it was not clean.
    9753de85
test_monitor.cpp 4.28 KB