[zeromq-dev] correct way to safely hanging up a socket

Seth Burleigh wburle4 at gmail.com
Thu Jan 20 05:14:39 CET 2011

Im having the same problems as the link below. I would like to close a
socket - but while im closing it, it is possible that other messages are
already in my sockets queue. Thus, when i close it, messages are lost.
 ideally, a socket could be closed but the queue could still be processed.
What is the correct way to do this? Sure, you could use the solution
described below, but it seems rather like a hack.

Questions related to this on stackoverflow:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110119/58aba7af/attachment.htm>

More information about the zeromq-dev mailing list