summaryrefslogtreecommitdiff
path: root/doc/zmq_send.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/zmq_send.txt')
-rw-r--r--doc/zmq_send.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/zmq_send.txt b/doc/zmq_send.txt
index 87b3a3f..d61ae75 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.
@@ -74,6 +78,8 @@ The provided 'socket' was not valid (NULL).
*EINTR*::
The operation was interrupted by delivery of a signal before the message was
sent.
+*EFAULT*::
+Invalid message.
EXAMPLE