On Mon, 2017-08-28 at 14:11 +0200, Stephan Opfer wrote: > Hi all, > > I would like to send Multi-Part Messages via a zmq_send_const(..) > call over a RADIO socket through UDP at a Multicast Address. So is it > possible to: > > - Send Multi-Part Messages > - Send Messages with Zero-Copy (e.g. via zmq_send_const) > - Send over a RADIO socket and receive it at a DISH socket > - Send over the raw UDP protocol > - Send to a multicast address (e.g. 244.0.0.1) > > If not, which feature do I need to drop? > > UDP and Multicast are actually a must have for me. > > Zero-Copy and Multi-Part Messages are somehow bind to each other, as > I try to send data from different locations in memory in one multi- > part message. > > About the socket type I don't care, but I read often that UDP only > works with RADIO/DISH. > > What is the current status in ZMQ Version 4.2.3? > > Greetings, > Stephan
Hi, multi-part does not work with UDP. Note that multi-part is needed for atomic delivery of messages - iow: either all parts are delivered with guaranteed ordering or none is. UDP means no guarantees on delivery and ordering. If that's not a feature you require, than you could do without. Also note that zmq_send_const, as the manpage and name suggest, it's for constant memory only, eg: zmq_send_const (socket, "constant string", ... For zero-copy for non-constant buffers look at zmq_msg_init_data. radio/dish over udp multicast (ipv4) can work with zmq_msg_init_data. -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
