[zeromq-dev] Sending via ROUTER socket to ROUTER socket fails initially with "No route to host"

Anoop Karollil anoop.karollil at gmail.com
Fri Apr 5 23:13:12 CEST 2013


Pieter Hintjens wrote:
> On Mon, Apr 1, 2013 at 6:23 PM, Anoop Karollil <anoop.karollil at gmail.com> wrote:
>
>> Pieter, any clue as to why the send with the connected (not bound)
>> ROUTER socket might be failing initially?
>
> No clue, but if you can make a minimal test case in C, we can
> investigate. Afaik it should work and this would be considered a bug.

Attached are two C programs that reproduce the problem. The broker binds 
and receives. The client connects and then sends. The send fails 
initially and then succeeds.

Anoop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.c
Type: text/x-csrc
Size: 1200 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130405/4f66f08d/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: broker.c
Type: text/x-csrc
Size: 832 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130405/4f66f08d/attachment-0001.c>


More information about the zeromq-dev mailing list