[zeromq-dev] ZMQ_HWM in zeromq 2.0

Martin Sustrik sustrik at 250bpm.com
Tue Jan 26 17:34:31 CET 2010

Sigismondo Boschi wrote:
> Martin Sustrik ha scritto:
> ...
>>> I have seen ZMQ_HWM and ZMQ_LWM need still to be implemented...
>> The feature haven't yet been ported from 0MQ/1.0. However, it's the top 
>> priority at the moment, so, hopefully it'll be provided soon.
> Great! Looking forward for it. However I would like to apply a workaround in the 
> while. Is there a way in the current implementation to suspend the socket from 
> receiving? Or maybe is it just what is missing now...?
> I think to close the receiving socket if I have received too many messages (that 
> I actually recv and store to my temporary area), but I am afraid of the fact 
> that I can close the socket while there are still messages in the pipe, even if 
> I immediately move them away.

The fact that there's no straightforward workaround makes the issue high 
priority :( My estimate is that it'll be added in within a month.


More information about the zeromq-dev mailing list