zmq_msg_set(3) set message property

SYNOPSIS

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

DESCRIPTION

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.

AUTHORS

This 0MQ manual page was written by Pieter Hintjens <m[blue][email protected]m[][1]>.