[zeromq-dev] Multithreaded server, delivers message in one direction
tlrx
tlrx.dev at gmail.com
Mon Oct 24 17:51:48 CEST 2011
Thanks for your answer Pieter.
I thought the Router, Dealer and Queue were in charge of managing (with
enveloppe) a valid ID frame that identifies the original client.
The worker retrieves a multipart message, and sent it back (it only modifies
the last part - containing the original message). Am I wrong or something?
How can I debug/see the incoming ID frame and the outgoing one?
Thanks,
Tanguy
Le 21 octobre 2011 23:23, Pieter Hintjens <ph at imatix.com> a écrit :
> On Fri, Oct 21, 2011 at 6:46 AM, tlrx <tlrx.dev at gmail.com> wrote:
>
> > But the
> > response is never received by the initial Client. It looks like the Queue
> > correctly transfers the message received by router to the dealer and then
> a
> > worker, but only in one direction.
>
> Most probably, when you are sending the response back to the client
> via the Router socket, the messages does not start with a valid ID
> frame that identifies the client.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111024/0a987650/attachment.htm>
More information about the zeromq-dev
mailing list