[zeromq-dev] Upstream/Downstream simple example
calderon.joe at gmail.com
Tue Jun 22 18:25:07 CEST 2010
nm, it seems the problem im having is unrelated. sometimes
receive_replies stops after half the messages and hence the sync never
gets sent, as its stuck in the for loop, i cant replicate it reliably
im running the commands as:
./send_requests tcp://127.0.0.1:5555 tcp://127.0.0.1:5556 1000
./component tcp://127.0.0.1:5557 tcp://127.0.0.1:5555 10 C1
./receive_replies tcp://127.0.0.1:5557 tcp://127.0.0.1:5556 1000
every so often receive_replies stops at "Sent 490 messages so far"
anyhow its probably just something on my machine, but it seems to
happen most often when i stop and start component with different sleep
intervals between runs
On Tue, Jun 22, 2010 at 12:33 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> Hi Joe,
>> 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.
>> zmq::message_t sync;
>> out_socket.send (sync);
>> right now i think its sending the address of the sync syscall ?
> Hm. Local identifier should override the global identifier.
> What compiler are you using? What's the exact error?
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
More information about the zeromq-dev