Re: [zeromq-dev] Broadcast mode for ZMQ_STREAM

2016-06-17 Thread Doron Somech
I'm not big fan of this as well. I think you can implement it in a layer above zeromq. However if it useful for you just send a pull request. One note though, sending a Msg to multiple pipes is complicated and you need to manage reference counting. Take a look at xpub and dist classes for

Re: [zeromq-dev] Broadcast mode for ZMQ_STREAM

2016-06-17 Thread Justin Karneges
Hey Jens, My initial thought is that this doesn't feel right. You'd be limited to broadcast (making it a kind of substandard PUB), and you'd need to change the "mute state" behavior too (otherwise a single slow client triggers EAGAIN). On Fri, Jun 17, 2016, at 10:09 AM, Jens Auer wrote: > Hi,

Re: [zeromq-dev] Broadcast mode for ZMQ_STREAM

2016-06-17 Thread Jens Auer
: [zeromq-dev] Broadcast mode for ZMQ_STREAM Hi, I am using ZMQ_STREAM to receive and deliver data from/to non-zeroMQ applications. For delivery, I have to send the data to a number of connected clients. All clients receive a copy of the data. Since a ZMQ_STREAM socket needs a first peer identity

[zeromq-dev] Broadcast mode for ZMQ_STREAM

2016-06-17 Thread Jens Auer
Hi, I am using ZMQ_STREAM to receive and deliver data from/to non-zeroMQ applications. For delivery, I have to send the data to a number of connected clients. All clients receive a copy of the data. Since a ZMQ_STREAM socket needs a first peer identity part, I have to manually add this every