[zeromq-dev] Router-Dealer but Router is hanging

Kevin Sapper kevinsapper88 at gmail.com
Tue Aug 9 08:25:40 CEST 2016


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 at 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 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/20160809/8d429889/attachment.htm>


More information about the zeromq-dev mailing list