Re: [zeromq-dev] Rare feature combination possible?

2017-08-30 Thread Luca Boccassi
On August 29, 2017 9:41:50 PM GMT+01:00, Peter Krey wrote: >Have you tried to build zmq with the NORM protocol? Sounds like that >will >give you almost what you need. > >On Tue, Aug 29, 2017 at 11:36 AM, Patrik VV. wrote: > >> Just my 5 cents: AFAIK the RADIO/DISH sockets are the newer, >thread-s

Re: [zeromq-dev] Rare feature combination possible?

2017-08-29 Thread Peter Krey
Have you tried to build zmq with the NORM protocol? Sounds like that will give you almost what you need. On Tue, Aug 29, 2017 at 11:36 AM, Patrik VV. wrote: > Just my 5 cents: AFAIK the RADIO/DISH sockets are the newer, thread-safe > sockets, which don't support multi part messages (ZMQ_SNDMORE

Re: [zeromq-dev] Rare feature combination possible?

2017-08-29 Thread Patrik VV.
Just my 5 cents: AFAIK the RADIO/DISH sockets are the newer, thread-safe sockets, which don't support multi part messages (ZMQ_SNDMORE option is not accepted). On 29 Aug 2017, at 14:35, Stephan Opfer wrote: >> Note that multi-part does _not_ imply contiguous memory location on the >> receive

Re: [zeromq-dev] Rare feature combination possible?

2017-08-29 Thread Stephan Opfer
Note that multi-part does _not_ imply contiguous memory location on the receive end (it might happen but there's no guarantee anywhere). So if that's a requirement for your use case, then you need to use a single message anyway. No on the receiving site I think that I'll need to accept to copy t

Re: [zeromq-dev] Rare feature combination possible?

2017-08-29 Thread Luca Boccassi
On Tue, 2017-08-29 at 12:38 +0200, Stephan Opfer wrote: > Hi Luca, > > the reason for me to use multi-part messages is, that I have the > content of a message already in memory, but not in one continues > memory sequence. So if I want to achieve zero-copy, I need to compose > the message from seve

Re: [zeromq-dev] Rare feature combination possible?

2017-08-29 Thread Stephan Opfer
Hi Luca, the reason for me to use multi-part messages is, that I have the content of a message already in memory, but not in one continues memory sequence. So if I want to achieve zero-copy, I need to compose the message from several memory locations, that should not be copied. When I underst

Re: [zeromq-dev] Rare feature combination possible?

2017-08-28 Thread Luca Boccassi
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

[zeromq-dev] Rare feature combination possible?

2017-08-28 Thread Stephan Opfer
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 so