zmq_msg_set(3)

zmq_msg_set3

Set message property

Usage

int zmq_msg_set (zmq_msg_t *message, int property, int value);

Overview

The zmq_msg_set() function shall set the property specified by the property argument to the value of the value argument for the 0MQ message fragment pointed to by the message argument.

Currently the zmq_msg_set() function does not support any property names.

Return value

The zmq_msg_set() function shall return zero if successful. Otherwise it shall return -1 and set errno to one of the values defined below.

Errors

EINVAL

The requested property property is unknown.

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Authors

This page was written by the 0MQ community. To make a change please read the 0MQ Contribution Policy at http://www.zeromq.org/docs:contributing.

From zeromq 4.3.5-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.