On 7 August 2011 22:31, Steven McCoy <[email protected]> wrote: > On 7 August 2011 21:22, Martin Sustrik <[email protected]> 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
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
