From 56619463ac26dc6c3e576d2fbf6b544eebeb5148 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Sun, 20 May 2012 11:24:59 +0200 Subject: Imported Upstream version 2.2.0 --- doc/zmq_send.html | 167 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 99 insertions(+), 68 deletions(-) (limited to 'doc/zmq_send.html') diff --git a/doc/zmq_send.html b/doc/zmq_send.html index 9ba1f96..f23e439 100644 --- a/doc/zmq_send.html +++ b/doc/zmq_send.html @@ -2,15 +2,28 @@ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> - - + + zmq_send(3) - +
+

SYNOPSIS

int zmq_send (void *socket, zmq_msg_t *msg, int flags);

+
+

DESCRIPTION

The zmq_send() function shall queue the message referenced by the msg @@ -624,7 +643,8 @@ message has been transmitted to the network, only that it has been queued on the socket and ØMQ has assumed responsibility for the message.

-

Multi-part messages

+
+

Multi-part messages

A ØMQ message is composed of 1 or more message parts; each message part is an independent zmq_msg_t in its own right. ØMQ ensures atomic delivery of messages; peers shall receive either all message parts of a message or none @@ -637,11 +657,16 @@ are to follow. When the application wishes to send the final message part it does so by calling zmq_send() without the ZMQ_SNDMORE flag; this indicates that no more message parts are to follow.

+
+
+

RETURN VALUE

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

+
+

ERRORS

@@ -707,6 +732,8 @@ Invalid message.
+
+

EXAMPLE

@@ -732,23 +759,27 @@ rc = zmq_send (socket, &part2, ZMQ_SNDMORE); rc = zmq_send (socket, &part3, 0);
+
+

SEE ALSO

+
+

AUTHORS

-

This ØMQ manual page was written by Martin Sustrik <sustrik@250bpm.com> and -Martin Lucina <mato@kotelna.sk>.

+

This manual page was written by the ØMQ community.

+

-- cgit v1.2.3