Socket.initialized

Whether this Socket object has been initialized, i.e. whether it refers to a valid $(ZMQ) socket.

Examples

Socket sck;
assert (!sck.initialized);
sck = Socket(SocketType.sub);
assert (sck.initialized);
sck.close();
assert (!sck.initialized);

Meta