Context.socketLimit

The largest configurable number of sockets.

struct Context
@safe @property
int
socketLimit
()

Throws

ZmqException if $(ZMQ) reports an error.

Corresponds to

$(ZMQREF zmq_ctx_get()) with ZMQ_SOCKET_LIMIT.

Examples

auto ctx = Context();
assert (ctx.socketLimit > 0);

Meta