1ZMQ_MSG_SET_ROUTING_(3)           0MQ Manual           ZMQ_MSG_SET_ROUTING_(3)
2
3
4

NAME

6       zmq_msg_set_routing_id - set routing ID property on message
7

SYNOPSIS

9       int zmq_msg_set_routing_id (zmq_msg_t *message, uint32_t routing_id);
10

DESCRIPTION

12       The zmq_msg_set_routing_id() function sets the routing_id specified, on
13       the the message pointed to by the message argument. The routing_id must
14       be greater than zero. To get a valid routing ID, you must receive a
15       message from a ZMQ_SERVER socket, and use the libzmq:zmq_msg_routing_id
16       method. Routing IDs are transient.
17

RETURN VALUE

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

ERRORS

24       EINVAL
25           The provided routing_id is zero.
26

SEE ALSO

28       zmq_msg_routing_id(3) zmq(7)
29

AUTHORS

31       This page was written by the 0MQ community. To make a change please
32       read the 0MQ Contribution Policy at
33       http://www.zeromq.org/docs:contributing.
34
35
36
370MQ 4.3.4                         01/22/2022           ZMQ_MSG_SET_ROUTING_(3)
Impressum