zmq_msg_set man page

zmq_msg_set — 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.

See Also

zmq_msg_get(3) zmq(7)

Authors

This 0MQ manual page was written by Pieter Hintjens <ph@imatix.com[1]>.

Notes

1.

ph@imatix.com

mailto:ph@imatix.com

Referenced By

zmq_msg_get(3), zmq_msg_more(3).

10/14/2014 0MQ 3.2.5 0MQ Manual