[zeromq-dev] Confusion in the parallel pipe example

Pieter Hintjens ph at imatix.com
Tue Apr 9 11:01:14 CEST 2013


Hi Pritesh,

You're talking about the task ventilator?

The second send doesn't block. The task pipeline can be a little
puzzling at first; best thing is to draw the design on paper and try
to understand the message flow from piece to piece.

-Pieter



On Tue, Apr 9, 2013 at 9:56 AM, Pritesh Acharya
<priteshacharya at gmail.com> wrote:
> In the parallel pipe example,
>
> zmq_bind (sender, "tcp://*:5557");
>
> zmq_connect (sink, "tcp://localhost:5558");
>
> and s_send (sink, "0");
>
> s_send (sender, string);
>
> how does the control continues in the first s_send and block on the second
> s_send, when I haven't started sink on 5558 port.
>
> ?
>
>
> _______________________________________________
> 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