Socket.disconnect

Disconnects the socket from endpoint.

Throws

ZmqException if $(ZMQ) reports an error.

Corresponds to

$(ZMQREF zmq_disconnect())

Examples

auto s = Socket(SocketType.sub);
s.connect("inproc://zmqd_disconnect_example");
// Do some work...
s.disconnect("inproc://zmqd_disconnect_example");

Meta