CZMQAbstractPublishNotifier::SendZmqMessage

Send a multipart ZMQ message (command, data, sequence number).

Synopsis

Declared in <zmq/zmqpublishnotifier.h>

bool
SendZmqMessage(
    char const* command,
    void const* data,
    size_t size);

Return Value

True on success, false if the message could not be sent.

Parameters

NameDescription
commandThe publisher topic/command string.
dataPointer to the message payload.
sizeSize of the payload in bytes.