[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    Re: [zeromq-dev] Router-Dealer but Router is hanging
From:       Kevin Sapper <kevinsapper88 () gmail ! com>
Date:       2016-08-09 6:25:40
Message-ID: CAJg_8U39XUwJTwjESUdX9oe0MHVB_NJO1+aLWP=fqvN3Tj834A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Kevin,

the DEALER socket does not send a identity frame. It is prepended by the
ROUTER when it receives a message and removed by the ROUTER when it sends a
message.

If you need a DEALER-ROUTER example, have a look a zyre (
https://github.com/zeromq/zyre).

Cheers
//Kevin

2016-08-09 3:03 GMT+00:00 Kevin Meredith <kevin.m.meredith@gmail.com>:

> Hi -
>
> I'm trying to connect a Router to a Dealer - http://stackoverflow.com/
> questions/38841182/router-hanging-in-dealer-router-setup.
>
> After connecting the `DEALER` to localhost, I then bound `ROUTER` to all
> interfaces on the same port as DEALER.
>
> Next, I sent a 3-frame message from DEALER to ROUTER:
>
> 1. identity
> 2. empty
> 3. message
>
> On the ROUTER side, I waited to receive 3 messages:
>
> 1. identity
> 2. empty
> 3. message.
>
> However, the ROUTER is blocked since it does not receive a message from
> the DEALER.
>
> How can I get this ROUTER to DEALER to work?
>
> Thanks,
> Kevin~
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div>Hi Kevin,<br><br></div>the DEALER socket does not \
send a identity frame. It is prepended by the ROUTER when it receives a message and \
removed by the ROUTER when it sends a message.<br><br></div>If you need a \
DEALER-ROUTER example, have a look a zyre (<a \
href="https://github.com/zeromq/zyre">https://github.com/zeromq/zyre</a>).<br><br></div>Cheers<br></div>//Kevin<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">2016-08-09 3:03 GMT+00:00 Kevin \
Meredith <span dir="ltr">&lt;<a href="mailto:kevin.m.meredith@gmail.com" \
target="_blank">kevin.m.meredith@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi -<div><br></div><div>I&#39;m trying to \
connect a Router to a Dealer -  <a \
href="http://stackoverflow.com/questions/38841182/router-hanging-in-dealer-router-setup" \
target="_blank">http://stackoverflow.com/<wbr>questions/38841182/router-<wbr>hanging-in-dealer-router-setup</a><wbr>.</div><div><br></div><div>After \
connecting the `DEALER` to localhost, I then bound `ROUTER` to all interfaces on the \
same port as DEALER.</div><div><br></div><div>Next, I sent a 3-frame message from \
DEALER to ROUTER:</div><div><br></div><div>1. identity</div><div>2. \
empty</div><div>3. message</div><div><br></div><div>On the ROUTER side, I waited to \
receive 3 messages:</div><div><br></div><div>1. identity</div><div>2. \
empty</div><div>3. message.</div><div><br></div><div>However, the ROUTER is blocked \
since it does not receive a message from the DEALER.</div><div><br></div><div>How can \
I get this ROUTER to DEALER to \
work?</div><div><br></div><div>Thanks,</div><div>Kevin~</div></div> \
<br>______________________________<wbr>_________________<br> zeromq-dev mailing \
list<br> <a href="mailto:zeromq-dev@lists.zeromq.org">zeromq-dev@lists.zeromq.org</a><br>
 <a href="http://lists.zeromq.org/mailman/listinfo/zeromq-dev" rel="noreferrer" \
target="_blank">http://lists.zeromq.org/<wbr>mailman/listinfo/zeromq-dev</a><br></blockquote></div><br></div>



[Attachment #6 (text/plain)]

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic