From 452ea97f5bb1bdd4d5ba76279de4189e8b8e5662 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 15 Apr 2011 08:03:26 +0200 Subject: [PATCH] zmq_send(3) manpage improved Signed-off-by: Martin Sustrik --- doc/zmq_send.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/zmq_send.txt b/doc/zmq_send.txt index 4561ae03..2a63cc6f 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.