Re: [zeromq-dev] Help on REQ to ROUTER

2020-06-19 Thread Matteo
It works!! Finally, I was also playing with ZMQ_ROUTER_MANDATORY and could see no issues, damn, such a silly mistake! Thank you! On Fri, Jun 19, 2020 at 4:30 PM Rodrigo Farnham wrote: > I found in documentation that ROUTER <-> REQ/REP requires a null > delimiter, which I believe > zmq_send(bac

Re: [zeromq-dev] Help on REQ to ROUTER

2020-06-19 Thread Rodrigo Farnham
I found in documentation that ROUTER <-> REQ/REP requires a null delimiter, which I believe zmq_send(backend, "", 1, ZMQ_SNDMORE); tries to add, but shouldn't it be zmq_send(backend, "", 0, ZMQ_SNDMORE); (I also think zmq_send(backend, NULL, 0, ZMQ_SNDMORE); works) I've run into a similar problem

[zeromq-dev] Help on REQ to ROUTER

2020-06-19 Thread Matteo
Hi all, I have been banging my head on this issue since a couple of days, I thought I had enough experience in zmq to make it work but apparently not. I am rewriting the Simple Pirate Pattern using the pure zmq library and Qt. I have used Zmq+Qt before, I can receive a message from REQ to a ROUTE