[zeromq-dev] zmq_connect invalid argument specifying nic interface

Tim Chen chengt at gmail.com
Thu Mar 20 18:35:49 CET 2014


Thanks Steven! I'll give those a try.
I was able to reproduce this on another machine (also running 3.2.4) by specifying an invalid interface (I used foo). That box worked fine when specifying bond0; so I think you are right about the cause of it.
Thanks for the help! :)

> On Mar 20, 2014, at 9:26 AM, Steven McCoy <steven.mccoy at miru.hk> wrote:
> 
>> On 19 March 2014 13:26, Tim Chen <chengt at gmail.com> wrote:
>> 
>> I'm getting an invalid argument when I try using pgm w zmq 3.2.4 when my URL looks like:
>> 
>> epgm://bond0;239.1.2.3:45678
>> 
>> If I remove bond0 it works fine.
>> Any idea why or how I can get more information on the error?
> 
> Ideally zmq_strerror would report this but you may need to enable PGM trace roles to see something more helpful, e.g.
> 
> PGM_MIN_LOG_LEVEL=trace ./my-program
> 
> There are some odd errors in the latest Linux kernels returning unexpected error codes when performing name lookups, these have only been resolved in trunk.  The workaround is to specify the adapter by IP address to to add an alias in /etc/networks.
> 
> -- 
> Steve-o
>  
> _______________________________________________
> 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/20140320/77220623/attachment.htm>


More information about the zeromq-dev mailing list