[zeromq-dev] [PATCH] IPv4/IPv6 wiring for 3.0

Steven McCoy steven.mccoy at miru.hk
Mon Aug 8 05:57:09 CEST 2011


On 7 August 2011 22:31, Steven McCoy <steven.mccoy at miru.hk> wrote:

> On 7 August 2011 21:22, Martin Sustrik <sustrik at 250bpm.com> wrote:
>
>> Another observation:
>>
>> On some platforms resolve_nic_name function has additional
>> prefer_ipv4_stack arguement. However, the function never seems to be
>> called with 3 arguments.
>>
>>
> I'll run through the patch again tomorrow and see what is happening.
>
>
What I'm going to do is run a Java test application to inspect what the Java
options do then document them for 0MQ, followed by a new series of patches
that start from a clean 3.0 clone.  The documentation first so the code can
be vetted against the definition of the options.

The ZMQ_PREFER_IPV4_STACK is reasonably clear.  The "prefer" implies IPv6
can be used in some circumstances though.  Is the implication that you can
connect to IPv6 services but everything else will default to IPv4-only.

Both ZMQ_IPV6ONLY and ZMQ_PREFER_IPV6_ADDRESSES are perversly non-specific
and I will look for something better noting the dual-stack relationship.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110808/995e1498/attachment.htm>


More information about the zeromq-dev mailing list