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
