I've looked into this, but haven't tried it because
the ZMQ_EVENT_DISCONNECTED event doesn't provide file descriptor and (I
assume IP) address.  I have no idea how to map this back to the socket
identities...

Cheers,

André


On Fri, Jan 10, 2014 at 2:25 AM, Chris Laws <[email protected]> wrote:

> In CZMQ and PYZMQ you can use the socket event monitor interface to
> receive socket event notification of things such as connect, disconnect,
> accepted, etc.
>
> I use the zmonitor from CZMQ and zmq.utils.monitor.recv_monitor_message
> from pyzmq for receiving connection state information in applications where
> the connection state is important.
>
> Perhaps you could check if this would satisfy your needs.
>
> Regards,
> Chris
>
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to