[zeromq-dev] How can I do REQ REP where I don't care about the reply?
Matt Connolly
matt.connolly at me.com
Thu Apr 10 13:12:52 CEST 2014
You can use DEALER socket which has the same outbound policy as REQ, but replies are read asynchronously, but not required.
Note that if you want to send messages to a REQ socket from a DEALER you will need to send a two-part message with the first message being an empty (zero-length) message.
-Matt
On 10 Apr 2014, at 8:26 pm, mark <manwoodvice at googlemail.com> wrote:
> I want multiple clients to send commands/messages to a single endpoint. I don't care about the endpoint sending a reply back to the clients. Its fire and forget. I'm using REQ REP at the moment but I'm forced to receive a reply, which isn't what I want... Is there a pattern for what I need?
>
> Thanks
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list