Hello,

I am playing around with the XREP to REP (Router to Papa) routing pattern
and everything seems to be working OK. Both applications get the messages.
However When Papa replies I get a non-zero return code, its not a -1
either... this is the output:

ROUTER:

Current ØMQ version is 2.1.1
Sending msg PING
rc: 0
Received: A  PONG
Sending msg PING
rc: 0
Received: A  PONG
Sending msg PING
rc: 0
Received: A  PONG
Sending msg PING
rc: 0
Received: A  PONG
^C


PAPA OUTPUT:
Current ØMQ version is 2.1.1
Rcvd PING
rc: -126588512
Rcvd PING
rc: -126588512
Rcvd PING
rc: -126588512
Rcvd PING
rc: -126588512
^C




I am using zhelpers from
https://github.com/imatix/zguide/raw/master/examples/C/zhelpers.h
and this is my code for the router and papa:
Router: https://gist.github.com/874516
Papa: https://gist.github.com/874520

I was wondering what is it that I am doing wrong, why is zmq_send not
returning zero, even though the msgs seem to be getting across?

Thanks!
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to