[zeromq-dev] How to do zero-copy multi-part messages without transfering the ownership of the data to ZMQ?
Francesco
francesco.montorsi at gmail.com
Tue Mar 28 15:15:14 CEST 2017
Not sure but perhaps zmq_send_const() may be useful in your case...
Francesco
2017-03-28 14:57 GMT+02:00 Stephan Opfer <opfer at vs.uni-kassel.de>:
> Hi,
>
> I would like to do what is described in this tutorial here:
> http://zeromq.org/blog:zero-copy
>
> But, I don't like to transfer the ownership to ZMQ, because it will delete
> the data when the message is sent.
>
> My application is more like this:
>
> Several autonomous robots inform each other from each other from time to
> time about the results of some calculuations, e.g., path planning results.
>
> These results are created for further processing and need to be kept in the
> ownership of the process itself. They can be send with zero-copy, because
> the wont be altered anymore, but should not be deleted.
>
> Any suggestions?
>
> Greetings,
>
> Stephan
>
> --
> Distributed Systems Research Group
> Stephan Opfer T. +49 561 804-6280 F. +49 561 804-6277
> Univ. Kassel, FB 16, Wilhelmshöher Allee 73, D-34121 Kassel
> WWW: http://www.uni-kassel.de/go/vs_stephan-opfer/
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list