[zeromq-dev] IPv6

Pieter Hintjens ph at imatix.com
Thu Jan 31 01:16:14 CET 2013

On Thu, Jan 31, 2013 at 12:27 AM, Steven McCoy <steven.mccoy at miru.hk> wrote:

> This default setting is due to the patch entering during the stable cycle
> minor updates as so not to disrupt existing users, I think that was Martin's
> reasoning.  The next major release should ideally set the default to 0.  The
> odd naming is to match an existing IP stack socket option.

It's OK to set IPV6 off by default, but the semantics of ZMQ_IPV4ONLY
are nasty. Double negative. It should be a yes/no flag on IPV6.

I've started implementing ZMQ_IPV6 and cleaning up the options.cpp
code, which is getting messy for no good reason.


More information about the zeromq-dev mailing list