[zeromq-dev] A simple C++ wrapper of zmq::poll

Radu Braniste rbraniste at gmail.com
Wed Aug 25 06:16:55 CEST 2010

Why another wrapper?

The usual idiom used when writing zmq::poll based code is based on a block
of if_conditions, testing for the occurrence of one event or the other.
This might be error prone and hard to maintain in the long run.
And this is where the wrapper comes handy: it separates poll functionality
from actions and state (4 different ways to do it) and provides the boiler
plate of zmq::poll functionality.


Hope you'll find it useful!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100825/f455a53e/attachment.htm>

More information about the zeromq-dev mailing list