Hello!

Thanks for hint, I really was using HWM incorrectly. I changed it according
spec but problem is still here.

http://pastebin.com/tDFpbhM0


But when I commented any operations on subscriber part(lines 68, 69, 70 and
71) everything working without problems.

Serg
On Wed, Jan 18, 2012 at 3:46 PM, Chuck Remes <[email protected]> wrote:

>
> On Jan 18, 2012, at 2:32 PM, Serg Gulko wrote:
>
> > Yes, in this example I using constant size message(22 bytes) - I want
> keep only one 22 bytes message.
> > Or I wrong?
>
> You are wrong. For HWM, you pass the *number of messages*. What your code
> does is pass the *number of bytes*. That is incorrect.
>
> Change it to set the HWM to 1. There are lots of C code examples in the
> guide. Refer to one of those examples for the exact syntax.
>
> cr
>
> _______________________________________________
> 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