[zeromq-dev] czmq and interruption handling on windows

brunobodin . brunobodin at gmail.com
Mon Jan 9 20:14:45 CET 2017


Hello,

I am successfully using ZeroMQ on windows from more than a year now. Now I
would like to leverage CZMQ (in particular the beacon for discovery), but I
find difficult to have a clean exit in my application (which is a console
app)

In particular, I noticed that in zsys.c, only CTRL_C_EVENT is handled, and
not CTRL_CLOSE_EVENT, which is the one triggered when the user closes the
application window.
I there any reason why this event is not handled ? When I added it the
behaviour of my app became clean.

Thanks

Bruno Bodin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170109/97230ce1/attachment.htm>


More information about the zeromq-dev mailing list