[zeromq-dev] Limit socket queue size

Boris Gulay boris at boressoft.ru
Mon Mar 19 16:40:06 CET 2012

I want to limit socket internal queue to one message. To do that I call
zmq_setsockopt with second argument set to one right after socket
creation (socket type = PUSH).
I use zlrzmq and I get an exception: Invalid argument. What I'm doing wrong?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120319/26781d8e/attachment.sig>

More information about the zeromq-dev mailing list