Context.ipv6

IPv6 option.

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

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