The socket type.
ZmqException if $(ZMQ) reports an error.
$(ZMQREF zmq_getsockopt()) with ZMQ_TYPE.
auto sck = Socket(SocketType.xpub); assert (sck.type == SocketType.xpub);
See Implementation
The socket type.