Context.ipv6

IPv6 option.

  1. bool ipv6 [@property getter]
    struct Context
    @safe @property
    bool
    ipv6
    ()
  2. bool ipv6 [@property setter]

Throws

ZmqException if $(ZMQ) reports an error.

Corresponds to

$(ZMQREF zmq_ctx_get()) and $(ZMQREF zmq_ctx_set()) with ZMQ_IPV6.

Examples

auto ctx = Context();
ctx.ipv6 = true;
assert (ctx.ipv6 == true);

Meta