From 75af6aed482ab16997c1388fe801f74d11ec12a4 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 23 Jan 2012 08:54:14 +0100 Subject: Imported Upstream version 2.1.9 --- doc/zmq_send.html | 128 ++++++++++++++++++++++++++---------------------------- 1 file changed, 62 insertions(+), 66 deletions(-) (limited to 'doc/zmq_send.html') diff --git a/doc/zmq_send.html b/doc/zmq_send.html index 0e17363..559eb38 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 +607,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 +621,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 +696,8 @@ Invalid message.
+
+

EXAMPLE

@@ -732,23 +723,28 @@ 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>.

+

-- cgit v1.2.3