summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/zmq_send.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/zmq_send.txt b/doc/zmq_send.txt
index 4561ae0..2a63cc6 100644
--- a/doc/zmq_send.txt
+++ b/doc/zmq_send.txt
@@ -28,6 +28,10 @@ Specifies that the message being sent is a multi-part message, and that further
message parts are to follow. Refer to the section regarding multi-part messages
below for a detailed description.
+The _zmq_msg_t_ structure passed to _zmq_send()_ is nullified during the call.
+If you want to send the same message to multiple sockets you have to copy it
+using (e.g. using _zmq_msg_copy()_).
+
NOTE: A successful invocation of _zmq_send()_ does not indicate that the
message has been transmitted to the network, only that it has been queued on
the 'socket' and 0MQ has assumed responsibility for the message.