[zeromq-dev] What C++ bindings to use ?

Ivan Pechorin ivan.pechorin at gmail.com
Wed May 29 09:03:10 CEST 2013

2013/5/29 Michael Haberler <mail17 at mah.priv.at>:

> that leaves me guessing which zmq api I should use assuming I switch to C++ for that application: using the CZMQ C API in a C++ program, which calls upon the C++ binding indirected through the C layer strikes me as a bit awkward; or using the C++ binding directly regardless it being 'low level'

Regarding the last option: IMHO the basic C++ binding (zmq.hpp from
https://github.com/zeromq/cppzmq) doesn't add anything useful to the
standard C zmq API (zmq.h). So, I prefer to use the standard zmq API
in my C++ programs.

But in your case, given that you already have an application built
with CZMQ, I don't see any reason to switch to any of the low-level
APIs. You should be able to use CZMQ in a C++ program.

More information about the zeromq-dev mailing list