Sends a message part.
_send blocks until the message has been queued on the socket. trySend performs the operation in non-blocking mode, and returns a bool value that signifies whether the message was queued on the socket.
ZmqException if $(ZMQ) reports an error.
$(ZMQREF zmq_msg_send()) (with the ZMQ_DONTWAIT flag, in the case of trySend).
auto sck = Socket(SocketType.pub); auto msg = Message(12); msg.data.asString()[] = "Hello World!"; sck.send(msg);
See Implementation
Sends a message part.
_send blocks until the message has been queued on the socket. trySend performs the operation in non-blocking mode, and returns a bool value that signifies whether the message was queued on the socket.