[zeromq-dev] C++ high level binding

Ilja Golshtein ilejncs at narod.ru
Thu Nov 3 10:26:14 CET 2011


Francois,

let me advertise zmqmessage library  http://zmqmessage.org/  .

It is not "equivalent  of the czmq for C++" because I believe C++ deserves 
more elegant and more natural solution, not just equivalent of czmq

Please, compare native c++ binding

zmq::message_t reply1(hello.size());
memcpy(static_cast<char*>(reply1.data()), hello.data(), hello.size());
zmq::message_t reply2(world.size());
memcpy(static_cast<char*>(reply2.data()), world.data(), world.size());
s.send(reply1,ZMQ_SNDMORE);
s.send(reply2);


with convenience and beauty of zmqmessage library 

reply << hello << world << ZmqMessage::Flush;

I appreciate any interest to zmqmesage library and willingly assist if any help is needed.


03.11.2011, 01:23, "Francois Saint-Jacques" <fsaintjacques at networkdump.com>:
> Is there an equivalent of the czmq for C++? I'm mainly interested in
> frame and message handling.
>
> I guess it shouldn't take that much that to port otherwise.
>
> Thank you,
> François
>
> --
> Sent from my jetpack.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-- 
Best regards,
Ilja Golshtein.


More information about the zeromq-dev mailing list