[zeromq-dev] Upstream/Downstream simple example
calderon.joe at gmail.com
Tue Jun 22 03:26:22 CEST 2010
other than zmq_sleep and zmq_stopwatch being missing in 2.0.7 i ran
into another problem
in receive_replies.cpp, line 65 should declare a variable sync
containing an empty message.
right now i think its sending the address of the sync syscall ?
with that fix, and using usleep() and gettimeofday() the example works
on my machine (fedora 13 x86_64)
On Wed, Jun 9, 2010 at 9:09 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> Hi Dana,
>> I looked at that but I wasn't sure how the end points should be setup
>> for the sockets since those come in as arguments to the executables. If
>> I am going to use them in an IPC fashion, would the endpoint simply be
>> the same for the in and out socket that I want connected?
> I haven't written the example so this with a grain of salt:
> I believe the "send_requests" is the initial node of the pipeline. It
> produces request. Down the stream there's arbitrary number of
> "component"s which do the actual processing and generate replies.
> Further down there's "receive_replies" component that gathers all the
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
More information about the zeromq-dev