Spawns a PAIR socket that publishes socket state changes (_events) over the INPROC transport to the given _endpoint.
Which event types should be published may be selected by bitwise-ORing together different EventType flags in the events parameter.
ZmqException if $(ZMQ) reports an error.
$(ZMQREF zmq_socket_monitor())
auto sck = Socket(SocketType.pub); sck.monitor("inproc://zmqd_monitor_unittest", EventType.accepted | EventType.closed);
$(FREF receiveEvent), which receives and parses event messages.
See Implementation
Spawns a PAIR socket that publishes socket state changes (_events) over the INPROC transport to the given _endpoint.
Which event types should be published may be selected by bitwise-ORing together different EventType flags in the events parameter.