[zeromq-dev] orderly shutdown

Koert Kuipers Koert.Kuipers at diamondnotch.com
Tue Nov 30 17:23:41 CET 2010


How do I do an orderly shutdown of a socket? Say I want to close a PULL socket. Can I do something like:

1)      Close the endpoint so that no more messages get added to the queue

2)      Process everything that's left in the queue

3)      Terminate
Thanks! Koert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101130/b2583d55/attachment.htm>


More information about the zeromq-dev mailing list