summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog152
-rw-r--r--NEWS24
-rw-r--r--aclocal.m44
-rwxr-xr-xconfig/ltmain.sh4
-rwxr-xr-xconfigure20
-rw-r--r--doc/zmq.76
-rw-r--r--doc/zmq.html158
-rw-r--r--doc/zmq_bind.36
-rw-r--r--doc/zmq_bind.html124
-rw-r--r--doc/zmq_close.36
-rw-r--r--doc/zmq_close.html122
-rw-r--r--doc/zmq_connect.36
-rw-r--r--doc/zmq_connect.html124
-rw-r--r--doc/zmq_cpp.76
-rw-r--r--doc/zmq_cpp.html236
-rw-r--r--doc/zmq_device.36
-rw-r--r--doc/zmq_device.html132
-rw-r--r--doc/zmq_epgm.76
-rw-r--r--doc/zmq_epgm.html132
-rw-r--r--doc/zmq_errno.36
-rw-r--r--doc/zmq_errno.html122
-rw-r--r--doc/zmq_getsockopt.36
-rw-r--r--doc/zmq_getsockopt.html196
-rw-r--r--doc/zmq_init.36
-rw-r--r--doc/zmq_init.html122
-rw-r--r--doc/zmq_inproc.76
-rw-r--r--doc/zmq_inproc.html130
-rw-r--r--doc/zmq_ipc.76
-rw-r--r--doc/zmq_ipc.html130
-rw-r--r--doc/zmq_msg_close.36
-rw-r--r--doc/zmq_msg_close.html122
-rw-r--r--doc/zmq_msg_copy.36
-rw-r--r--doc/zmq_msg_copy.html122
-rw-r--r--doc/zmq_msg_data.36
-rw-r--r--doc/zmq_msg_data.html122
-rw-r--r--doc/zmq_msg_init.36
-rw-r--r--doc/zmq_msg_init.html124
-rw-r--r--doc/zmq_msg_init_data.36
-rw-r--r--doc/zmq_msg_init_data.html124
-rw-r--r--doc/zmq_msg_init_size.36
-rw-r--r--doc/zmq_msg_init_size.html122
-rw-r--r--doc/zmq_msg_move.36
-rw-r--r--doc/zmq_msg_move.html122
-rw-r--r--doc/zmq_msg_size.36
-rw-r--r--doc/zmq_msg_size.html122
-rw-r--r--doc/zmq_pgm.76
-rw-r--r--doc/zmq_pgm.html132
-rw-r--r--doc/zmq_poll.36
-rw-r--r--doc/zmq_poll.html124
-rw-r--r--doc/zmq_recv.36
-rw-r--r--doc/zmq_recv.html128
-rw-r--r--doc/zmq_send.36
-rw-r--r--doc/zmq_send.html128
-rw-r--r--doc/zmq_setsockopt.36
-rw-r--r--doc/zmq_setsockopt.html188
-rw-r--r--doc/zmq_socket.36
-rw-r--r--doc/zmq_socket.html156
-rw-r--r--doc/zmq_strerror.36
-rw-r--r--doc/zmq_strerror.html124
-rw-r--r--doc/zmq_tcp.76
-rw-r--r--doc/zmq_tcp.html130
-rw-r--r--doc/zmq_term.36
-rw-r--r--doc/zmq_term.html122
-rw-r--r--doc/zmq_version.36
-rw-r--r--doc/zmq_version.html124
-rw-r--r--include/zmq.h2
-rw-r--r--src/err.hpp3
-rw-r--r--src/ip.cpp50
-rw-r--r--src/ip.hpp2
-rw-r--r--src/kqueue.cpp4
-rw-r--r--src/options.cpp10
-rw-r--r--src/req.cpp8
-rw-r--r--src/signaler.cpp6
-rw-r--r--src/socket_base.cpp13
-rw-r--r--src/tcp_connecter.cpp15
-rw-r--r--src/tcp_listener.cpp2
-rw-r--r--src/tcp_socket.cpp10
-rw-r--r--zeromq.spec2
78 files changed, 2429 insertions, 2146 deletions
diff --git a/ChangeLog b/ChangeLog
index 2349d55..ee15982 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,157 @@
# Generated by Makefile. Do not edit.
+commit ab64a395a01293453da606f08e0983ae8bbeb210
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Mon Oct 3 07:24:15 2011 -0500
+
+ Updated news for 2.1.10 release
+
+ NEWS | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+commit ddc75f9e54f1fc95a057e935c51c0c22e53df6e7
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Wed Sep 28 08:37:41 2011 -0500
+
+ Applied workaround for issue 261
+
+ NEWS | 7 ++++---
+ src/kqueue.cpp | 4 +++-
+ 2 files changed, 7 insertions(+), 4 deletions(-)
+
+commit 80b0041ea1685ed49c222d237b4c9c49bd495b64
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Fri Sep 16 10:33:24 2011 -0500
+
+ Added diagnostics for issue 254
+
+ src/tcp_socket.cpp | 10 ++++++++--
+ 1 files changed, 8 insertions(+), 2 deletions(-)
+
+commit 4fc2b0fee7cd98ef4d1b69ce079539773bb5b76b
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Fri Sep 16 10:33:10 2011 -0500
+
+ Whitespace fixes
+
+ src/tcp_connecter.cpp | 9 +++++----
+ 1 files changed, 5 insertions(+), 4 deletions(-)
+
+commit e7f29bfccb915d129bc55b9ff1b48b1a7c2e6661
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Tue Sep 13 10:15:31 2011 -0500
+
+ Fixed issue 252
+
+ NEWS | 5 ++++-
+ 1 files changed, 4 insertions(+), 1 deletions(-)
+
+commit fffd7701a5bece99767b6e10e2cafbe7670c5f2f
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Tue Sep 13 10:13:52 2011 -0500
+
+ Fixed issue 252
+
+ src/req.cpp | 8 ++++++--
+ 1 files changed, 6 insertions(+), 2 deletions(-)
+
+commit 3e1aa20233c8bc4d29fecf9e74f6ee6857cdca44
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Tue Sep 6 08:02:27 2011 -0500
+
+ Fixed issue 250
+
+ NEWS | 2 ++
+ src/ip.cpp | 1 +
+ 2 files changed, 3 insertions(+), 0 deletions(-)
+
+commit 930c3ef246a5f2a58a614778a9512d61d222de16
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Sun Sep 4 10:58:07 2011 +0200
+
+ Fixed windows build
+
+ src/err.hpp | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+commit afb68fd07be76bd037761d7b54416f7d29255866
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Fri Sep 2 16:09:50 2011 +0200
+
+ Updated NEWS for issue 218
+
+ Signed-off-by: Pieter Hintjens <ph@imatix.com>
+
+ NEWS | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+commit 3d91c037657c74c79dfa49f1781eb633bf31de98
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Fri Sep 2 16:08:46 2011 +0200
+
+ Fixed issue 218
+
+ Signed-off-by: Pieter Hintjens <ph@imatix.com>
+
+ src/ip.cpp | 49 +++++++++++++++++++++++++++++++++++++++----------
+ src/ip.hpp | 2 ++
+ src/signaler.cpp | 6 +++---
+ src/tcp_connecter.cpp | 6 +++---
+ src/tcp_listener.cpp | 2 +-
+ 5 files changed, 48 insertions(+), 17 deletions(-)
+
+commit 9fcbf166da89f73b010950b264f4573b25804e5e
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Fri Sep 2 11:53:25 2011 +0200
+
+ Updated NEWS for issue 140 fix
+
+ NEWS | 4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+commit 6c07e8d94453fbabe818a639c8d6021aa95f14c4
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Fri Sep 2 11:51:11 2011 +0200
+
+ Fixed issue 140
+
+ src/options.cpp | 10 +++++++++-
+ 1 files changed, 9 insertions(+), 1 deletions(-)
+
+commit 66d69d7d6393d6d097c9a89e20c061e61167a091
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Tue Aug 30 14:09:30 2011 +0200
+
+ Updated for issue 207
+
+ NEWS | 11 +++++++++++
+ 1 files changed, 11 insertions(+), 0 deletions(-)
+
+commit a41271a0c1840729f4a439b0bd240ca78af04f02
+Merge: c514fb9 81602d4
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Tue Aug 30 13:52:49 2011 +0200
+
+ Merge branch 'issue-207'
+
+commit 81602d41aae0cbc284e3d13d7bd7b30357dd8083
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Tue Aug 30 13:52:42 2011 +0200
+
+ Fixed issue 207
+
+ src/socket_base.cpp | 13 +++++++++++++
+ 1 files changed, 13 insertions(+), 0 deletions(-)
+
+commit c514fb93902fc8f9423d888b5d70bde87b357cd8
+Author: Pieter Hintjens <ph@imatix.com>
+Date: Tue Aug 30 13:11:12 2011 +0200
+
+ Updated for 2.1.9
+
+ include/zmq.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
commit 392c3771c22d0dfe793cc9c4ee5c27d18d38d428
Author: Pieter Hintjens <ph@imatix.com>
Date: Mon Aug 29 20:25:11 2011 +0200
diff --git a/NEWS b/NEWS
index 9f7a789..fa237fc 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,27 @@
+0MQ version 2.1.10 (Stable), released on 2011/10/03
+===================================================
+
+Bug fixes
+---------
+
+* Fixed issue 140, SWAP failed with assertion failure in pipe.cpp:187
+ if the current directory was not writeable. Behavior now is to return
+ -1 at zmq_setsockopt in this situation.
+
+* Fixed issue 207, assertion failure in zmq_connecter.cpp:48, when an
+ invalid zmq_connect() string was used, or the hostname could not be
+ resolved. The zmq_connect() call now returns -1 in both those cases.
+
+* Fixed issue 218, sockets not opened with SOCK_CLOEXEC, causing fork/exec
+ to sit on sockets unnecessarily.
+
+* Fixed issue 250, build errors on Windows.
+
+* Fixed issue 252, assertion failure in req.cpp:87 and req.cpp:88.
+
+* Fixed issue 261, assertion failure in kqueue.cpp:76 on OS/X.
+
+
0MQ version 2.1.9 (Stable), released on 2011/08/29
==================================================
diff --git a/aclocal.m4 b/aclocal.m4
index f9e8889..bd741d2 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -156,7 +156,7 @@ $$1_PKG_ERRORS
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
-_PKG_TEXT])[]dnl
+_PKG_TEXT])dnl
])
elif test $pkg_failed = untried; then
AC_MSG_RESULT([no])
@@ -167,7 +167,7 @@ path to pkg-config.
_PKG_TEXT
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
])
else
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
diff --git a/config/ltmain.sh b/config/ltmain.sh
index fa4b1e1..7ed280b 100755
--- a/config/ltmain.sh
+++ b/config/ltmain.sh
@@ -65,7 +65,7 @@
# compiler: $LTCC
# compiler flags: $LTCFLAGS
# linker: $LD (gnu? $with_gnu_ld)
-# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3
+# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
# automake: $automake_version
# autoconf: $autoconf_version
#
@@ -73,7 +73,7 @@
PROGRAM=ltmain.sh
PACKAGE=libtool
-VERSION="2.2.6b Debian-2.2.6b-2ubuntu3"
+VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
TIMESTAMP=""
package_revision=1.3017
diff --git a/configure b/configure
index edd17fa..3f7448a 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.67 for zeromq 2.1.9.
+# Generated by GNU Autoconf 2.67 for zeromq 2.1.10.
#
# Report bugs to <zeromq-dev@lists.zeromq.org>.
#
@@ -701,8 +701,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='zeromq'
PACKAGE_TARNAME='zeromq'
-PACKAGE_VERSION='2.1.9'
-PACKAGE_STRING='zeromq 2.1.9'
+PACKAGE_VERSION='2.1.10'
+PACKAGE_STRING='zeromq 2.1.10'
PACKAGE_BUGREPORT='zeromq-dev@lists.zeromq.org'
PACKAGE_URL=''
@@ -1467,7 +1467,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures zeromq 2.1.9 to adapt to many kinds of systems.
+\`configure' configures zeromq 2.1.10 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1537,7 +1537,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of zeromq 2.1.9:";;
+ short | recursive ) echo "Configuration of zeromq 2.1.10:";;
esac
cat <<\_ACEOF
@@ -1659,7 +1659,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-zeromq configure 2.1.9
+zeromq configure 2.1.10
generated by GNU Autoconf 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2414,7 +2414,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by zeromq $as_me 2.1.9, which was
+It was created by zeromq $as_me 2.1.10, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ $0 $@
@@ -3233,7 +3233,7 @@ fi
# Define the identity of the package.
PACKAGE='zeromq'
- VERSION='2.1.9'
+ VERSION='2.1.10'
cat >>confdefs.h <<_ACEOF
@@ -19413,7 +19413,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by zeromq $as_me 2.1.9, which was
+This file was extended by zeromq $as_me 2.1.10, which was
generated by GNU Autoconf 2.67. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -19479,7 +19479,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-zeromq config.status 2.1.9
+zeromq config.status 2.1.10
configured by $0, generated by GNU Autoconf 2.67,
with options \\"\$ac_cs_config\\"
diff --git a/doc/zmq.7 b/doc/zmq.7
index 07ec236..b774c13 100644
--- a/doc/zmq.7
+++ b/doc/zmq.7
@@ -2,12 +2,12 @@
.\" Title: zmq
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ" "7" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ" "7" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq.html b/doc/zmq.html
index bce168f..e44f8a1 100644
--- a/doc/zmq.html
+++ b/doc/zmq.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq(7)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq(7) Manual Page
@@ -560,14 +580,11 @@ zmq(7) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>#include &lt;zmq.h&gt;</strong></p></div>
<div class="paragraph"><p><strong>cc</strong> [<em>flags</em>] <em>files</em> <strong>-lzmq</strong> [<em>libraries</em>]</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The ØMQ lightweight messaging kernel is a library which extends the standard
@@ -579,8 +596,7 @@ and more.</p></div>
<div class="paragraph"><p>This documentation presents an overview of ØMQ concepts, describes how ØMQ
abstracts standard sockets and provides a reference manual for the functions
provided by the ØMQ library.</p></div>
-<div class="sect2">
-<h3 id="_context">Context</h3>
+<h3 id="_context">Context</h3><div style="clear:left"></div>
<div class="paragraph"><p>Before using any ØMQ library functions the caller must initialise a ØMQ
<em>context</em> using <em>zmq_init()</em>. The following functions are provided to handle
initialisation and termination of a <em>context</em>:</p></div>
@@ -602,7 +618,6 @@ Terminate ØMQ context
</p>
</dd>
</dl></div>
-<div class="sect3">
<h4 id="_thread_safety">Thread safety</h4>
<div class="paragraph"><p>A ØMQ <em>context</em> is thread safe and may be shared among as many application
threads as necessary, without any additional locking required on the part of
@@ -613,17 +628,12 @@ In practice this means applications can create a socket in one thread with
<em>zmq_socket()</em> and then pass it to a <em>newly created</em> thread as part of thread
initialization, for example via a structure passed as an argument to
<em>pthread_create()</em>.</p></div>
-</div>
-<div class="sect3">
<h4 id="_multiple_contexts">Multiple contexts</h4>
<div class="paragraph"><p>Multiple <em>contexts</em> may coexist within a single application. Thus, an
application can use ØMQ directly and at the same time make use of any number of
additional libraries or components which themselves make use of ØMQ as long as
the above guidelines regarding thread safety are adhered to.</p></div>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_messages">Messages</h3>
+<h3 id="_messages">Messages</h3><div style="clear:left"></div>
<div class="paragraph"><p>A ØMQ message is a discrete unit of data passed between applications or
components of the same application. ØMQ messages have no internal structure and
from the point of view of ØMQ itself they are considered to be opaque binary
@@ -667,9 +677,7 @@ Message manipulation
</p>
</dd>
</dl></div>
-</div>
-<div class="sect2">
-<h3 id="_sockets">Sockets</h3>
+<h3 id="_sockets">Sockets</h3><div style="clear:left"></div>
<div class="paragraph"><p>ØMQ sockets present an abstraction of a asynchronous <em>message queue</em>, with the
exact queueing semantics depending on the socket type in use. See
<a href="zmq_socket.html">zmq_socket(3)</a> for the socket types provided.</p></div>
@@ -723,9 +731,7 @@ Sending and receiving messages
a set containing both ØMQ sockets and standard sockets. This mechanism mirrors
the standard <em>poll()</em> system call, and is described in detail in
<a href="zmq_poll.html">zmq_poll(3)</a>.</p></div>
-</div>
-<div class="sect2">
-<h3 id="_transports">Transports</h3>
+<h3 id="_transports">Transports</h3><div style="clear:left"></div>
<div class="paragraph"><p>A ØMQ socket can use multiple different underlying transport mechanisms.
Each transport mechanism is suited to a particular purpose and has its own
advantages and drawbacks.</p></div>
@@ -764,18 +770,13 @@ Local in-process (inter-thread) communication transport
</p>
</dd>
</dl></div>
-</div>
-<div class="sect2">
-<h3 id="_devices">Devices</h3>
+<h3 id="_devices">Devices</h3><div style="clear:left"></div>
<div class="paragraph"><p>ØMQ provides <em>devices</em>, which are building blocks that act as intermediate
nodes in complex messaging topologies. Devices can act as brokers that other
nodes connect to, proxies that connect through to other nodes, or any mix of
these two models.</p></div>
<div class="paragraph"><p>You can start a device in an application thread, see <a href="zmq_device.html">zmq_device(3)</a>.</p></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_error_handling">ERROR HANDLING</h2>
<div class="sectionbody">
<div class="paragraph"><p>The ØMQ library functions handle errors using the standard conventions found on
@@ -789,8 +790,6 @@ to assist in these cases; for details refer to <a href="zmq_errno.html">zmq_errn
<div class="paragraph"><p>The <em>zmq_strerror()</em> function is provided to translate ØMQ-specific error codes
into error message strings; for details refer to <a href="zmq_strerror.html">zmq_strerror(3)</a>.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_miscellaneous">MISCELLANEOUS</h2>
<div class="sectionbody">
<div class="paragraph"><p>The following miscellaneous functions are provided:</p></div>
@@ -805,8 +804,6 @@ Report ØMQ library version
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_language_bindings">LANGUAGE BINDINGS</h2>
<div class="sectionbody">
<div class="paragraph"><p>The ØMQ library provides interfaces suitable for calling from programs in any
@@ -814,33 +811,23 @@ language; this documentation documents those interfaces as they would be used
by C programmers. The intent is that programmers using ØMQ from other languages
shall refer to this documentation alongside any documentation provided by the
vendor of their language binding.</p></div>
-<div class="sect2">
-<h3 id="_c_language_binding">C++ language binding</h3>
+<h3 id="_c_language_binding">C++ language binding</h3><div style="clear:left"></div>
<div class="paragraph"><p>The ØMQ distribution includes a C++ language binding, which is documented
separately in <a href="zmq_cpp.html">zmq_cpp(7)</a>.</p></div>
-</div>
-<div class="sect2">
-<h3 id="_other_language_bindings">Other language bindings</h3>
+<h3 id="_other_language_bindings">Other language bindings</h3><div style="clear:left"></div>
<div class="paragraph"><p>Other language bindings (Python, Ruby, Java and more) are provided by members
of the ØMQ community and pointers can be found on the ØMQ website.</p></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_resources">RESOURCES</h2>
<div class="sectionbody">
<div class="paragraph"><p>Main web site: <a href="http://www.zeromq.org/">http://www.zeromq.org/</a></p></div>
<div class="paragraph"><p>Report bugs to the ØMQ development mailing list: &lt;<a href="mailto:zeromq-dev@lists.zeromq.org">zeromq-dev@lists.zeromq.org</a>&gt;</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_copying">COPYING</h2>
<div class="sectionbody">
<div class="paragraph"><p>Free use of this software is granted under the terms of the GNU Lesser General
@@ -848,12 +835,11 @@ Public License (LGPL). For details see the files <tt>COPYING</tt> and <tt>COPYIN
included with the ØMQ distribution.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.7<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_bind.3 b/doc/zmq_bind.3
index 997f7a0..addb501 100644
--- a/doc/zmq_bind.3
+++ b/doc/zmq_bind.3
@@ -2,12 +2,12 @@
.\" Title: zmq_bind
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_BIND" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_BIND" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_bind.html b/doc/zmq_bind.html
index ef04708..e3b1da2 100644
--- a/doc/zmq_bind.html
+++ b/doc/zmq_bind.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_bind(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_bind(3) Manual Page
@@ -560,13 +580,10 @@ zmq_bind(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_bind (void <em>*socket</em>, const char <em>*endpoint</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_bind()</em> function shall create an endpoint for accepting connections
@@ -616,15 +633,11 @@ incoming connections from multiple endpoints bound to the socket using
<em>zmq_bind()</em>. Refer to <a href="zmq_socket.html">zmq_socket(3)</a> for a description of the exact
semantics involved when connecting or binding a socket to multiple endpoints.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_bind()</em> function shall return zero if successful. Otherwise it shall
return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -702,8 +715,6 @@ No I/O thread is available to accomplish the task.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -720,28 +731,23 @@ rc = zmq_bind (socket, "tcp://eth0:5555");
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_connect.html">zmq_connect(3)</a>
<a href="zmq_socket.html">zmq_socket(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-07-30 17:22:16 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_close.3 b/doc/zmq_close.3
index 82a3cc8..33c7368 100644
--- a/doc/zmq_close.3
+++ b/doc/zmq_close.3
@@ -2,12 +2,12 @@
.\" Title: zmq_close
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_CLOSE" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_CLOSE" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_close.html b/doc/zmq_close.html
index bca12dc..f30c3a3 100644
--- a/doc/zmq_close.html
+++ b/doc/zmq_close.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_close(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_close(3) Manual Page
@@ -560,13 +580,10 @@ zmq_close(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_close (void <em>*socket</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_close()</em> function shall destroy the socket referenced by the <em>socket</em>
@@ -586,15 +603,11 @@ For details refer to <a href="zmq_setsockopt.html">zmq_setsockopt(3)</a> and <a
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_close()</em> function shall return zero if successful. Otherwise it shall
return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -608,8 +621,6 @@ The provided <em>socket</em> was invalid.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_socket.html">zmq_socket(3)</a>
@@ -617,20 +628,17 @@ The provided <em>socket</em> was invalid.
<a href="zmq_setsockopt.html">zmq_setsockopt(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-06-09 19:50:07 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_connect.3 b/doc/zmq_connect.3
index 4f50086..e16874e 100644
--- a/doc/zmq_connect.3
+++ b/doc/zmq_connect.3
@@ -2,12 +2,12 @@
.\" Title: zmq_connect
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_CONNECT" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_CONNECT" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_connect.html b/doc/zmq_connect.html
index 52c0ad3..b6353b6 100644
--- a/doc/zmq_connect.html
+++ b/doc/zmq_connect.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_connect(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_connect(3) Manual Page
@@ -560,13 +580,10 @@ zmq_connect(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_connect (void <em>*socket</em>, const char <em>*endpoint</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_connect()</em> function shall connect the socket referenced by the
@@ -626,15 +643,11 @@ physical connection was or can actually be established.</td>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_connect()</em> function shall return zero if successful. Otherwise it
shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -688,8 +701,6 @@ No I/O thread is available to accomplish the task.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -706,28 +717,23 @@ rc = zmq_connect (socket, "tcp://server001:5555");
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_bind.html">zmq_bind(3)</a>
<a href="zmq_socket.html">zmq_socket(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-07-30 17:22:16 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_cpp.7 b/doc/zmq_cpp.7
index 72c2f97..f96dd35 100644
--- a/doc/zmq_cpp.7
+++ b/doc/zmq_cpp.7
@@ -2,12 +2,12 @@
.\" Title: zmq_cpp
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_CPP" "7" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_CPP" "7" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_cpp.html b/doc/zmq_cpp.html
index 6b31c9f..c59c01d 100644
--- a/doc/zmq_cpp.html
+++ b/doc/zmq_cpp.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_cpp(7)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_cpp(7) Manual Page
@@ -560,14 +580,11 @@ zmq_cpp(7) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>#include &lt;zmq.hpp&gt;</strong></p></div>
<div class="paragraph"><p><strong>c++</strong> [<em>flags</em>] <em>files</em> <strong>-lzmq</strong> [<em>libraries</em>]</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>This manual page describes how the ØMQ C++ language binding maps to the
@@ -575,151 +592,126 @@ underlying ØMQ C library functions.</p></div>
<div class="paragraph"><p>All ØMQ constants defined by <em>zmq.h</em> are also available to the C++ language
binding.</p></div>
<div class="paragraph"><p>The following classes are provided in the <em>zmq</em> namespace:</p></div>
-<div class="sect2">
-<h3 id="_context">Context</h3>
+<h3 id="_context">Context</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>context_t</em> class encapsulates functionality dealing with the
initialisation and termination of a ØMQ <em>context</em>.</p></div>
-<div class="sect3">
<h4 id="_constructor">Constructor</h4>
<div class="verseblock">
-<pre class="content"><strong>context_t::context_t(int <em>io_threads</em>)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>context_t::context_t(int <em>io_threads</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_init()</em> function, as described in <a href="zmq_init.html">zmq_init(3)</a>.</p></div>
-</div>
-<div class="sect3">
<h4 id="_destructor">Destructor</h4>
<div class="verseblock">
-<pre class="content"><strong>context_t::~context_t(void)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>context_t::~context_t(void)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_term()</em> function, as described in <a href="zmq_term.html">zmq_term(3)</a>.</p></div>
-</div>
-<div class="sect3">
<h4 id="_methods">Methods</h4>
<div class="paragraph"><p>None.</p></div>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_socket">Socket</h3>
+<h3 id="_socket">Socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>socket_t</em> class encapsulates a ØMQ socket.</p></div>
-<div class="sect3">
<h4 id="_constructor_2">Constructor</h4>
<div class="verseblock">
-<pre class="content"><strong>socket_t::socket_t(context_t <em>&amp;context</em>, int <em>type</em>)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>socket_t::socket_t(context_t <em>&amp;context</em>, int <em>type</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_socket()</em> function, as described in <a href="zmq_socket.html">zmq_socket(3)</a>.</p></div>
-</div>
-<div class="sect3">
<h4 id="_destructor_2">Destructor</h4>
<div class="verseblock">
-<pre class="content"><strong>socket_t::~socket_t(void)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>socket_t::~socket_t(void)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Calls the <em>zmq_close()</em> function, as described in <a href="zmq_close.html">zmq_close(3)</a>.</p></div>
-</div>
-<div class="sect3">
<h4 id="_methods_2">Methods</h4>
<div class="verseblock">
-<pre class="content"><strong>void socket_t::getsockopt(int <em>option_name</em>, void <em>*option_value</em>, size_t
-<em>*option_len</em>)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>void socket_t::getsockopt(int <em>option_name</em>, void <em>*option_value</em>, size_t
+<em>*option_len</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_getsockopt()</em> function, as described in
<a href="zmq_getsockopt.html">zmq_getsockopt(3)</a>.</p></div>
<div class="verseblock">
-<pre class="content"><strong>void socket_t::setsockopt(int <em>option_name</em>, const void <em>*option_value</em>, size_t
-<em>option_len</em>)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>void socket_t::setsockopt(int <em>option_name</em>, const void <em>*option_value</em>, size_t
+<em>option_len</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_setsockopt()</em> function, as described in
<a href="zmq_setsockopt.html">zmq_setsockopt(3)</a>.</p></div>
<div class="verseblock">
-<pre class="content"><strong>void socket_t::bind(const char <em>*endpoint</em>)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>void socket_t::bind(const char <em>*endpoint</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_bind()</em> function, as described in <a href="zmq_bind.html">zmq_bind(3)</a>.</p></div>
<div class="verseblock">
-<pre class="content"><strong>void socket_t::connect(const char <em>*endpoint</em>)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>void socket_t::connect(const char <em>*endpoint</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_connect()</em> function, as described in <a href="zmq_connect.html">zmq_connect(3)</a>.</p></div>
<div class="verseblock">
-<pre class="content"><strong>bool socket_t::send(message_t <em>&amp;msg</em>, int <em>flags</em> = 0)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>bool socket_t::send(message_t <em>&amp;msg</em>, int <em>flags</em> = 0)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_send()</em> function, as described in <a href="zmq_send.html">zmq_send(3)</a>.
Returns true if message is successfully sent, false if it is not.</p></div>
<div class="verseblock">
-<pre class="content"><strong>bool socket_t::recv(message_t <em>*msg</em>, int <em>flags</em> = 0)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>bool socket_t::recv(message_t <em>*msg</em>, int <em>flags</em> = 0)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_recv()</em> function, as described in <a href="zmq_recv.html">zmq_recv(3)</a>.
Returns true if message is successfully received, false if it is not.</p></div>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_message">Message</h3>
+<h3 id="_message">Message</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>zmq::message_t</em> class encapsulates the <em>zmq_msg_t</em> structure and
functions to construct, destruct and manipulate ØMQ messages.</p></div>
-<div class="sect3">
<h4 id="_constructor_3">Constructor</h4>
<div class="verseblock">
-<pre class="content"><strong>message_t::message_t(void)</strong>
+<div class="verseblock-content"><strong>message_t::message_t(void)</strong>
<strong>message_t::message_t(size_t <em>size</em>)</strong>
-<strong>message_t::message_t(void <em>*data</em>, size_t <em>size</em>, free_fn <em>*ffn</em>)</strong></pre>
-<div class="attribution">
+<strong>message_t::message_t(void <em>*data</em>, size_t <em>size</em>, free_fn <em>*ffn</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>These map to the <em>zmq_msg_init()</em>, <em>zmq_msg_init_size()</em> and
<em>zmq_msg_init_data()</em> functions, described in <a href="zmq_msg_init.html">zmq_msg_init(3)</a>,
<a href="zmq_msg_init_size.html">zmq_msg_init_size(3)</a> and <a href="zmq_msg_init_data.html">zmq_msg_init_data(3)</a> respectively.</p></div>
-</div>
-<div class="sect3">
<h4 id="_destructor_3">Destructor</h4>
<div class="verseblock">
-<pre class="content"><strong>message_t::~message_t(void)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>message_t::~message_t(void)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Calls the <em>zmq_msg_close()</em> function, as described in <a href="zmq_msg_close.html">zmq_msg_close(3)</a>.</p></div>
-</div>
-<div class="sect3">
<h4 id="_methods_3">Methods</h4>
<div class="verseblock">
-<pre class="content"><strong>void *message_t::data (void)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>void *message_t::data (void)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_msg_data()</em> function, as described in <a href="zmq_msg_data.html">zmq_msg_data(3)</a>.</p></div>
<div class="verseblock">
-<pre class="content"><strong>size_t message_t::size (void)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>size_t message_t::size (void)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_msg_size()</em> function, as described in <a href="zmq_msg_size.html">zmq_msg_size(3)</a>.</p></div>
<div class="verseblock">
-<pre class="content"><strong>void message_t::copy (message_t <em>*src</em>)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>void message_t::copy (message_t <em>*src</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_msg_copy()</em> function, as described in <a href="zmq_msg_copy.html">zmq_msg_copy(3)</a>.</p></div>
<div class="verseblock">
-<pre class="content"><strong>void message_t::move (message_t <em>*src</em>)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>void message_t::move (message_t <em>*src</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Maps to the <em>zmq_msg_move()</em> function, as described in <a href="zmq_msg_move.html">zmq_msg_move(3)</a>.</p></div>
<div class="verseblock">
-<pre class="content"><strong>message_t::rebuild(void)</strong>
+<div class="verseblock-content"><strong>message_t::rebuild(void)</strong>
<strong>message_t::rebuild(size_t <em>size</em>)</strong>
-<strong>message_t::rebuild(void <em>*data</em>, size_t <em>size</em>, free_fn <em>*ffn</em>)</strong></pre>
-<div class="attribution">
+<strong>message_t::rebuild(void <em>*data</em>, size_t <em>size</em>, free_fn <em>*ffn</em>)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>Equivalent to calling the <em>zmq_msg_close()</em> function followed by the
corresponding <em>zmq_msg_init()</em> function.</p></div>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_input_output_multiplexing">Input/output multiplexing</h3>
+<h3 id="_input_output_multiplexing">Input/output multiplexing</h3><div style="clear:left"></div>
<div class="verseblock">
-<pre class="content"><strong>int poll (zmq_pollitem_t *items, int nitems, long timeout = -1)</strong></pre>
-<div class="attribution">
+<div class="verseblock-content"><strong>int poll (zmq_pollitem_t *items, int nitems, long timeout = -1)</strong></div>
+<div class="verseblock-attribution">
</div></div>
<div class="paragraph"><p>The <em>poll()</em> function is a namespaced equivalent of the <em>zmq_poll()</em> function,
as described in <a href="zmq_poll.html">zmq_poll(3)</a>.</p></div>
@@ -733,9 +725,6 @@ should cast an instance of the <em>socket_t</em> class to <tt>(void *)</tt>.</td
</tr></table>
</div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_error_handling">ERROR HANDLING</h2>
<div class="sectionbody">
<div class="paragraph"><p>All errors reported by the underlying ØMQ C library functions are automatically
@@ -743,8 +732,6 @@ converted to exceptions by the C++ language binding. The <em>zmq::error_t</em>
is derived from the <em>std::exception</em> class and uses the <em>zmq_strerror()</em>
function to convert the error code to human-readable string.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -757,26 +744,21 @@ memset (msg.data (), 0, 100);
s.send (msg);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.8<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_device.3 b/doc/zmq_device.3
index 7888546..42a262a 100644
--- a/doc/zmq_device.3
+++ b/doc/zmq_device.3
@@ -2,12 +2,12 @@
.\" Title: zmq_device
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_DEVICE" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_DEVICE" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_device.html b/doc/zmq_device.html
index f5ea972..06ce951 100644
--- a/doc/zmq_device.html
+++ b/doc/zmq_device.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_device(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_device(3) Manual Page
@@ -560,13 +580,10 @@ zmq_device(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_device (int <em>device</em>, const void <em>*frontend</em>, const void <em>*backend</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_device()</em> function starts a built-in ØMQ device. The <em>device</em> argument
@@ -629,8 +646,6 @@ bind both frontend and backend sockets. The two conventional device models are:<
<div class="paragraph"><p><em>zmq_device()</em> runs in the current thread and returns only if/when the current
context is closed.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_queue_device">QUEUE DEVICE</h2>
<div class="sectionbody">
<div class="paragraph"><p><em>ZMQ_QUEUE</em> creates a shared queue that collects requests from a set of clients,
@@ -643,8 +658,6 @@ clients and the backend speaks to services. You should use <em>ZMQ_QUEUE</em> wi
Other combinations are not documented.</p></div>
<div class="paragraph"><p>Refer to <a href="zmq_socket.html">zmq_socket(3)</a> for a description of these socket types.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_forwarder_device">FORWARDER DEVICE</h2>
<div class="sectionbody">
<div class="paragraph"><p><em>ZMQ_FORWARDER</em> collects messages from a set of publishers and forwards these to
@@ -656,8 +669,6 @@ publishers and the backend speaks to subscribers. You should use
for the backend. Other combinations are not documented.</p></div>
<div class="paragraph"><p>Refer to <a href="zmq_socket.html">zmq_socket(3)</a> for a description of these socket types.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_streamer_device">STREAMER DEVICE</h2>
<div class="sectionbody">
<div class="paragraph"><p><em>ZMQ_STREAMER</em> collects tasks from a set of pushers and forwards these to a set
@@ -669,15 +680,11 @@ and the backend speaks to pullers. You should use <em>ZMQ_STREAMER</em> with a
Other combinations are not documented.</p></div>
<div class="paragraph"><p>Refer to <a href="zmq_socket.html">zmq_socket(3)</a> for a description of these socket types.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_device()</em> function always returns <tt>-1</tt> and <em>errno</em> set to <strong>ETERM</strong> (the
ØMQ <em>context</em> associated with either of the specified sockets was terminated).</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -695,8 +702,6 @@ assert (zmq_bind (backend, "tcp://*:5556") == 0);
zmq_device (ZMQ_QUEUE, frontend, backend);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_bind.html">zmq_bind(3)</a>
@@ -704,21 +709,15 @@ zmq_device (ZMQ_QUEUE, frontend, backend);</tt></pre>
<a href="zmq_socket.html">zmq_socket(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Pieter Hintjens &lt;<a href="mailto:ph@imatix.com">ph@imatix.com</a>&gt;</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_resources">RESOURCES</h2>
<div class="sectionbody">
<div class="paragraph"><p>Main web site: <a href="http://www.zeromq.org/">http://www.zeromq.org/</a></p></div>
<div class="paragraph"><p>Report bugs to the ØMQ development mailing list: &lt;<a href="mailto:zeromq-dev@lists.zeromq.org">zeromq-dev@lists.zeromq.org</a>&gt;</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_copying">COPYING</h2>
<div class="sectionbody">
<div class="paragraph"><p>Free use of this software is granted under the terms of the GNU Lesser General
@@ -726,12 +725,11 @@ Public License (LGPL). For details see the files <tt>COPYING</tt> and <tt>COPYIN
included with the ØMQ distribution.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 18:00:00 CET
+ØMQ 2.1.7<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_epgm.7 b/doc/zmq_epgm.7
index 66250f5..60e8fa4 100644
--- a/doc/zmq_epgm.7
+++ b/doc/zmq_epgm.7
@@ -2,12 +2,12 @@
.\" Title: zmq_pgm
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_PGM" "7" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_PGM" "7" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_epgm.html b/doc/zmq_epgm.html
index 64e3e75..5dfc00d 100644
--- a/doc/zmq_epgm.html
+++ b/doc/zmq_epgm.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_pgm(7)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_pgm(7) Manual Page
@@ -560,14 +580,11 @@ zmq_pgm(7) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p>PGM (Pragmatic General Multicast) is a protocol for reliable multicast
transport of data over IP networks.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>ØMQ implements two variants of PGM, the standard protocol where PGM datagrams
@@ -593,8 +610,6 @@ not require any special privileges.</td>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_addressing">ADDRESSING</h2>
<div class="sectionbody">
<div class="paragraph"><p>A ØMQ address string consists of two parts as follows:
@@ -603,8 +618,7 @@ transport protocol to use. For the standard PGM protocol, <em>transport</em> sha
set to <tt>pgm</tt>. For the "Encapsulated PGM" protocol <em>transport</em> shall be set to
<tt>epgm</tt>. The meaning of the <em>endpoint</em> part for both the <em>pgm</em> and <em>epgm</em>
transport is defined below.</p></div>
-<div class="sect2">
-<h3 id="_connecting_a_socket">Connecting a socket</h3>
+<h3 id="_connecting_a_socket">Connecting a socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>When connecting a socket to a peer address using <em>zmq_connect()</em> with the <em>pgm</em>
or <em>epgm</em> transport, the <em>endpoint</em> shall be interpreted as an <em>interface</em>
followed by a semicolon, followed by a <em>multicast address</em>, followed by a colon
@@ -637,9 +651,6 @@ names exist, thus only the primary IPv4 address may be used to specify an
<div class="paragraph"><p>A <em>multicast address</em> is specified by an IPv4 multicast address in its numeric
representation.</p></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_wire_format">WIRE FORMAT</h2>
<div class="sectionbody">
<div class="paragraph"><p>Consecutive PGM datagrams are interpreted by ØMQ as a single continuous stream
@@ -647,8 +658,7 @@ of data where ØMQ messages are not necessarily aligned with PGM datagram
boundaries and a single ØMQ message may span several PGM datagrams. This stream
of data consists of ØMQ messages encapsulated in <em>frames</em> as described in
<a href="zmq_tcp.html">zmq_tcp(7)</a>.</p></div>
-<div class="sect2">
-<h3 id="_pgm_datagram_payload">PGM datagram payload</h3>
+<h3 id="_pgm_datagram_payload">PGM datagram payload</h3><div style="clear:left"></div>
<div class="paragraph"><p>The following ABNF grammar represents the payload of a single PGM datagram as
used by ØMQ:</p></div>
<div class="literalblock">
@@ -696,9 +706,6 @@ Third datagram payload
+--------------+----------------------------+-------------+</tt></pre>
</div></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -716,8 +723,6 @@ rc = zmq_connect(socket, "pgm://192.168.1.1;239.192.1.1:5555");
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_connect.html">zmq_connect(3)</a>
@@ -727,20 +732,17 @@ assert (rc == 0);</tt></pre>
<a href="zmq_inproc.html">zmq_inproc(7)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-07-30 17:22:16 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_errno.3 b/doc/zmq_errno.3
index fd3694c..24cff1b 100644
--- a/doc/zmq_errno.3
+++ b/doc/zmq_errno.3
@@ -2,12 +2,12 @@
.\" Title: zmq_errno
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_ERRNO" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_ERRNO" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_errno.html b/doc/zmq_errno.html
index ee4d04b..0a98725 100644
--- a/doc/zmq_errno.html
+++ b/doc/zmq_errno.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_errno(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_errno(3) Manual Page
@@ -560,13 +580,10 @@ zmq_errno(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_errno (void);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_errno()</em> function shall retrieve the value of the <em>errno</em> variable for
@@ -587,39 +604,30 @@ variable directly.</td>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_errno()</em> function shall return the value of the <em>errno</em> variable for
the calling thread.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>No errors are defined.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.7<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_getsockopt.3 b/doc/zmq_getsockopt.3
index c11b5f0..2b699ea 100644
--- a/doc/zmq_getsockopt.3
+++ b/doc/zmq_getsockopt.3
@@ -2,12 +2,12 @@
.\" Title: zmq_getsockopt
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_GETSOCKOPT" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_GETSOCKOPT" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_getsockopt.html b/doc/zmq_getsockopt.html
index e77e2e1..18c64b1 100644
--- a/doc/zmq_getsockopt.html
+++ b/doc/zmq_getsockopt.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_getsockopt(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_getsockopt(3) Manual Page
@@ -560,13 +580,10 @@ zmq_getsockopt(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_getsockopt (void <em>*socket</em>, int <em>option_name</em>, void <em>*option_value</em>, size_t <em>*option_len</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_getsockopt()</em> function shall retrieve the value for the option
@@ -577,8 +594,7 @@ to by <em>option_value</em>; upon successful completion <em>zmq_getsockopt()</em
modify the <em>option_len</em> argument to indicate the actual size of the option
value stored in the buffer.</p></div>
<div class="paragraph"><p>The following options can be retrieved with the <em>zmq_getsockopt()</em> function:</p></div>
-<div class="sect2">
-<h3 id="_zmq_type_retrieve_socket_type">ZMQ_TYPE: Retrieve socket type</h3>
+<h3 id="_zmq_type_retrieve_socket_type">ZMQ_TYPE: Retrieve socket type</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_TYPE</em> option shall retrieve the socket type for the specified
<em>socket</em>. The socket type is specified at socket creation time and
cannot be modified afterwards.</p></div>
@@ -628,9 +644,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_rcvmore_more_message_parts_to_follow">ZMQ_RCVMORE: More message parts to follow</h3>
+<h3 id="_zmq_rcvmore_more_message_parts_to_follow">ZMQ_RCVMORE: More message parts to follow</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RCVMORE</em> option shall return a boolean value indicating if the
multi-part message currently being read from the specified <em>socket</em> has more
message parts to follow. If there are no message parts to follow or if the
@@ -684,9 +698,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_hwm_retrieve_high_water_mark">ZMQ_HWM: Retrieve high water mark</h3>
+<h3 id="_zmq_hwm_retrieve_high_water_mark">ZMQ_HWM: Retrieve high water mark</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_HWM</em> option shall retrieve the high water mark for the specified
<em>socket</em>. The high water mark is a hard limit on the maximum number of
outstanding messages ØMQ shall queue in memory for any single peer that the
@@ -743,9 +755,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_swap_retrieve_disk_offload_size">ZMQ_SWAP: Retrieve disk offload size</h3>
+<h3 id="_zmq_swap_retrieve_disk_offload_size">ZMQ_SWAP: Retrieve disk offload size</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_SWAP</em> option shall retrieve the disk offload (swap) size for the
specified <em>socket</em>. A socket which has <em>ZMQ_SWAP</em> set to a non-zero value may
exceed its high water mark; in this case outstanding messages shall be
@@ -797,9 +807,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_affinity_retrieve_i_o_thread_affinity">ZMQ_AFFINITY: Retrieve I/O thread affinity</h3>
+<h3 id="_zmq_affinity_retrieve_i_o_thread_affinity">ZMQ_AFFINITY: Retrieve I/O thread affinity</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_AFFINITY</em> option shall retrieve the I/O thread affinity for newly
created connections on the specified <em>socket</em>.</p></div>
<div class="paragraph"><p>Affinity determines which threads from the ØMQ I/O thread pool associated with
@@ -857,9 +865,7 @@ N/A
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_identity_retrieve_socket_identity">ZMQ_IDENTITY: Retrieve socket identity</h3>
+<h3 id="_zmq_identity_retrieve_socket_identity">ZMQ_IDENTITY: Retrieve socket identity</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_IDENTITY</em> option shall retrieve the identity of the specified
<em>socket</em>. Socket identity determines if existing ØMQ infrastructure (<em>message
queues</em>, <em>forwarding devices</em>) shall be identified with a specific application
@@ -917,9 +923,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_rate_retrieve_multicast_data_rate">ZMQ_RATE: Retrieve multicast data rate</h3>
+<h3 id="_zmq_rate_retrieve_multicast_data_rate">ZMQ_RATE: Retrieve multicast data rate</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RATE</em> option shall retrieve the maximum send or receive data rate for
multicast transports using the specified <em>socket</em>.</p></div>
<div class="hdlist"><table>
@@ -968,9 +972,7 @@ all, when using multicast transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_recovery_ivl_get_multicast_recovery_interval">ZMQ_RECOVERY_IVL: Get multicast recovery interval</h3>
+<h3 id="_zmq_recovery_ivl_get_multicast_recovery_interval">ZMQ_RECOVERY_IVL: Get multicast recovery interval</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RECOVERY_IVL</em> option shall retrieve the recovery interval for
multicast transports using the specified <em>socket</em>. The recovery interval
determines the maximum time in seconds that a receiver can be absent from a
@@ -1021,9 +1023,7 @@ all, when using multicast transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_recovery_ivl_msec_get_multicast_recovery_interval_in_milliseconds">ZMQ_RECOVERY_IVL_MSEC: Get multicast recovery interval in milliseconds</h3>
+<h3 id="_zmq_recovery_ivl_msec_get_multicast_recovery_interval_in_milliseconds">ZMQ_RECOVERY_IVL_MSEC: Get multicast recovery interval in milliseconds</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RECOVERY_IVL&#8217;_MSEC option shall retrieve the recovery interval, in
milliseconds, for multicast transports using the specified 'socket</em>. The
recovery interval determines the maximum time in seconds that a receiver
@@ -1079,9 +1079,7 @@ all, when using multicast transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_mcast_loop_control_multicast_loop_back">ZMQ_MCAST_LOOP: Control multicast loop-back</h3>
+<h3 id="_zmq_mcast_loop_control_multicast_loop_back">ZMQ_MCAST_LOOP: Control multicast loop-back</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_MCAST_LOOP</em> option controls whether data sent via multicast
transports can also be received by the sending host via loop-back. A value of
zero indicates that the loop-back functionality is disabled, while the default
@@ -1135,9 +1133,7 @@ all, when using multicast transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_sndbuf_retrieve_kernel_transmit_buffer_size">ZMQ_SNDBUF: Retrieve kernel transmit buffer size</h3>
+<h3 id="_zmq_sndbuf_retrieve_kernel_transmit_buffer_size">ZMQ_SNDBUF: Retrieve kernel transmit buffer size</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_SNDBUF</em> option shall retrieve the underlying kernel transmit buffer
size for the specified <em>socket</em>. A value of zero means that the OS default is
in effect. For details refer to your operating system documentation for the
@@ -1188,9 +1184,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_rcvbuf_retrieve_kernel_receive_buffer_size">ZMQ_RCVBUF: Retrieve kernel receive buffer size</h3>
+<h3 id="_zmq_rcvbuf_retrieve_kernel_receive_buffer_size">ZMQ_RCVBUF: Retrieve kernel receive buffer size</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RCVBUF</em> option shall retrieve the underlying kernel receive buffer
size for the specified <em>socket</em>. A value of zero means that the OS default is
in effect. For details refer to your operating system documentation for the
@@ -1241,9 +1235,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_linger_retrieve_linger_period_for_socket_shutdown">ZMQ_LINGER: Retrieve linger period for socket shutdown</h3>
+<h3 id="_zmq_linger_retrieve_linger_period_for_socket_shutdown">ZMQ_LINGER: Retrieve linger period for socket shutdown</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_LINGER</em> option shall retrieve the linger period for the specified
<em>socket</em>. The linger period determines how long pending messages which have
yet to be sent to a peer shall linger in memory after a socket is closed with
@@ -1321,9 +1313,7 @@ all
</table></div>
</li>
</ul></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_reconnect_ivl_retrieve_reconnection_interval">ZMQ_RECONNECT_IVL: Retrieve reconnection interval</h3>
+<h3 id="_zmq_reconnect_ivl_retrieve_reconnection_interval">ZMQ_RECONNECT_IVL: Retrieve reconnection interval</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RECONNECT_IVL</em> option shall retrieve the initial reconnection interval
for the specified <em>socket</em>. The reconnection interval is the period ØMQ shall
wait between attempts to reconnect disconnected peers when using
@@ -1383,9 +1373,7 @@ all, only for connection-oriented transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_reconnect_ivl_max_retrieve_maximum_reconnection_interval">ZMQ_RECONNECT_IVL_MAX: Retrieve maximum reconnection interval</h3>
+<h3 id="_zmq_reconnect_ivl_max_retrieve_maximum_reconnection_interval">ZMQ_RECONNECT_IVL_MAX: Retrieve maximum reconnection interval</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RECONNECT_IVL_MAX</em> option shall retrieve the maximum reconnection
interval for the specified <em>socket</em>. This is the maximum period ØMQ shall wait
between attempts to reconnect. On each reconnect attempt, the previous interval
@@ -1446,9 +1434,7 @@ all, only for connection-oriented transport
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_backlog_retrieve_maximum_length_of_the_queue_of_outstanding_connections">ZMQ_BACKLOG: Retrieve maximum length of the queue of outstanding connections</h3>
+<h3 id="_zmq_backlog_retrieve_maximum_length_of_the_queue_of_outstanding_connections">ZMQ_BACKLOG: Retrieve maximum length of the queue of outstanding connections</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_BACKLOG</em> option shall retrieve the maximum length of the queue of
outstanding peer connections for the specified <em>socket</em>; this only applies to
connection-oriented transports. For details refer to your operating system
@@ -1499,9 +1485,7 @@ all, only for connection-oriented transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_fd_retrieve_file_descriptor_associated_with_the_socket">ZMQ_FD: Retrieve file descriptor associated with the socket</h3>
+<h3 id="_zmq_fd_retrieve_file_descriptor_associated_with_the_socket">ZMQ_FD: Retrieve file descriptor associated with the socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_FD</em> option shall retrieve the file descriptor associated with the
specified <em>socket</em>. The returned file descriptor can be used to integrate the
socket into an existing event loop; the ØMQ library shall signal any pending
@@ -1574,9 +1558,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_events_retrieve_socket_event_state">ZMQ_EVENTS: Retrieve socket event state</h3>
+<h3 id="_zmq_events_retrieve_socket_event_state">ZMQ_EVENTS: Retrieve socket event state</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_EVENTS</em> option shall retrieve the event state for the specified
<em>socket</em>. The returned value is a bit mask constructed by OR&#8217;ing a combination
of the following event flags:</p></div>
@@ -1651,16 +1633,11 @@ all
</tr>
</table></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_getsockopt()</em> function shall return zero if successful. Otherwise it
shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -1701,8 +1678,6 @@ The operation was interrupted by delivery of a signal.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -1715,28 +1690,23 @@ rc = zmq_getsockopt (socket, ZMQ_HWM, &amp;hwm, &amp;hwm_size);
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_setsockopt.html">zmq_setsockopt(3)</a>
<a href="zmq_socket.html">zmq_socket(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-07-30 17:22:16 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_init.3 b/doc/zmq_init.3
index 13a1686..8df9ede 100644
--- a/doc/zmq_init.3
+++ b/doc/zmq_init.3
@@ -2,12 +2,12 @@
.\" Title: zmq_init
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_INIT" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_INIT" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_init.html b/doc/zmq_init.html
index 7629e0a..1798d87 100644
--- a/doc/zmq_init.html
+++ b/doc/zmq_init.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_init(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_init(3) Manual Page
@@ -560,13 +580,10 @@ zmq_init(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>void *zmq_init (int <em>io_threads</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_init()</em> function initialises a ØMQ <em>context</em>.</p></div>
@@ -577,16 +594,12 @@ messaging you may set this to zero, otherwise set it to at least one.</p></div>
threads as necessary, without any additional locking required on the part of
the caller.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_init()</em> function shall return an opaque handle to the initialised
<em>context</em> if successful. Otherwise it shall return NULL and set <em>errno</em> to one
of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -600,27 +613,22 @@ An invalid number of <em>io_threads</em> was requested.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq.html">zmq(7)</a>
<a href="zmq_term.html">zmq_term(3)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.7<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_inproc.7 b/doc/zmq_inproc.7
index a0d6a5d..b1c8e0d 100644
--- a/doc/zmq_inproc.7
+++ b/doc/zmq_inproc.7
@@ -2,12 +2,12 @@
.\" Title: zmq_inproc
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_INPROC" "7" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_INPROC" "7" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_inproc.html b/doc/zmq_inproc.html
index a46d127..f3176f9 100644
--- a/doc/zmq_inproc.html
+++ b/doc/zmq_inproc.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_inproc(7)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_inproc(7) Manual Page
@@ -560,7 +580,6 @@ zmq_inproc(7) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p>The in-process transport passes messages via memory directly between threads
@@ -577,8 +596,6 @@ only you can initialise the <em>context</em> with zero I/O threads. See
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_addressing">ADDRESSING</h2>
<div class="sectionbody">
<div class="paragraph"><p>A ØMQ address string consists of two parts as follows:
@@ -586,31 +603,23 @@ only you can initialise the <em>context</em> with zero I/O threads. See
transport protocol to use, and for the in-process transport shall be set to
<tt>inproc</tt>. The meaning of the <em>endpoint</em> part for the in-process transport is
defined below.</p></div>
-<div class="sect2">
-<h3 id="_assigning_a_local_address_to_a_socket">Assigning a local address to a socket</h3>
+<h3 id="_assigning_a_local_address_to_a_socket">Assigning a local address to a socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>When assigning a local address to a <em>socket</em> using <em>zmq_bind()</em> with the
<em>inproc</em> transport, the <em>endpoint</em> shall be interpreted as an arbitrary string
identifying the <em>name</em> to create. The <em>name</em> must be unique within the ØMQ
<em>context</em> associated with the <em>socket</em> and may be up to 256 characters in
length. No other restrictions are placed on the format of the <em>name</em>.</p></div>
-</div>
-<div class="sect2">
-<h3 id="_connecting_a_socket">Connecting a socket</h3>
+<h3 id="_connecting_a_socket">Connecting a socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>When connecting a <em>socket</em> to a peer address using <em>zmq_connect()</em> with the
<em>inproc</em> transport, the <em>endpoint</em> shall be interpreted as an arbitrary string
identifying the <em>name</em> to connect to. The <em>name</em> must have been previously
created by assigning it to at least one <em>socket</em> within the same ØMQ <em>context</em>
as the <em>socket</em> being connected.</p></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_wire_format">WIRE FORMAT</h2>
<div class="sectionbody">
<div class="paragraph"><p>Not applicable.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -634,8 +643,6 @@ rc = zmq_connect(socket, "inproc://my-endpoint");
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_bind.html">zmq_bind(3)</a>
@@ -645,20 +652,17 @@ assert (rc == 0);</tt></pre>
<a href="zmq_pgm.html">zmq_pgm(7)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.8<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_ipc.7 b/doc/zmq_ipc.7
index 0e19c95..2202c1e 100644
--- a/doc/zmq_ipc.7
+++ b/doc/zmq_ipc.7
@@ -2,12 +2,12 @@
.\" Title: zmq_ipc
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 10/03/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_IPC" "7" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_IPC" "7" "10/03/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_ipc.html b/doc/zmq_ipc.html
index 3a4a88c..8b0601d 100644
--- a/doc/zmq_ipc.html
+++ b/doc/zmq_ipc.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_ipc(7)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_ipc(7) Manual Page
@@ -560,7 +580,6 @@ zmq_ipc(7) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p>The inter-process transport passes messages between local processes using a
@@ -575,8 +594,6 @@ systems that provide UNIX domain sockets.</td>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_addressing">ADDRESSING</h2>
<div class="sectionbody">
<div class="paragraph"><p>A ØMQ address string consists of two parts as follows:
@@ -584,32 +601,24 @@ systems that provide UNIX domain sockets.</td>
transport protocol to use, and for the inter-process transport shall be set to
<tt>ipc</tt>. The meaning of the <em>endpoint</em> part for the inter-process transport is
defined below.</p></div>
-<div class="sect2">
-<h3 id="_assigning_a_local_address_to_a_socket">Assigning a local address to a socket</h3>
+<h3 id="_assigning_a_local_address_to_a_socket">Assigning a local address to a socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>When assigning a local address to a <em>socket</em> using <em>zmq_bind()</em> with the <em>ipc</em>
transport, the <em>endpoint</em> shall be interpreted as an arbitrary string
identifying the <em>pathname</em> to create. The <em>pathname</em> must be unique within the
operating system namespace used by the <em>ipc</em> implementation, and must fulfill
any restrictions placed by the operating system on the format and length of a
<em>pathname</em>.</p></div>
-</div>
-<div class="sect2">
-<h3 id="_connecting_a_socket">Connecting a socket</h3>
+<h3 id="_connecting_a_socket">Connecting a socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>When connecting a <em>socket</em> to a peer address using <em>zmq_connect()</em> with the
<em>ipc</em> transport, the <em>endpoint</em> shall be interpreted as an arbitrary string
identifying the <em>pathname</em> to connect to. The <em>pathname</em> must have been
previously created within the operating system namespace by assigning it to a
<em>socket</em> with <em>zmq_bind()</em>.</p></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_wire_format">WIRE FORMAT</h2>
<div class="sectionbody">
<div class="paragraph"><p>Not applicable.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -627,8 +636,6 @@ rc = zmq_connect(socket, "ipc:///tmp/feeds/0");
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_bind.html">zmq_bind(3)</a>
@@ -638,20 +645,17 @@ assert (rc == 0);</tt></pre>
<a href="zmq_pgm.html">zmq_pgm(7)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.8<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_msg_close.3 b/doc/zmq_msg_close.3
index 99efcab..a62a470 100644
--- a/doc/zmq_msg_close.3
+++ b/doc/zmq_msg_close.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_close
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_MSG_CLOSE" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_MSG_CLOSE" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_close.html b/doc/zmq_msg_close.html
index 8fd8d1b..621d39c 100644
--- a/doc/zmq_msg_close.html
+++ b/doc/zmq_msg_close.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_msg_close(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_msg_close(3) Manual Page
@@ -560,13 +580,10 @@ zmq_msg_close(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_msg_close (zmq_msg_t <em>*msg</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_close()</em> function shall inform the ØMQ infrastructure that any
@@ -586,15 +603,11 @@ no longer required, otherwise memory leaks may occur.</p></div>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_close()</em> function shall return zero if successful. Otherwise
it shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -608,8 +621,6 @@ Invalid message.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_msg_init.html">zmq_msg_init(3)</a>
@@ -619,20 +630,17 @@ Invalid message.
<a href="zmq_msg_size.html">zmq_msg_size(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-04-20 12:15:32 CEST
+ØMQ 2.1.7<br />
+Last updated 2011-05-06 12:19:55 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_msg_copy.3 b/doc/zmq_msg_copy.3
index 22e669a..dbdc540 100644
--- a/doc/zmq_msg_copy.3
+++ b/doc/zmq_msg_copy.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_copy
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_MSG_COPY" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_MSG_COPY" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_copy.html b/doc/zmq_msg_copy.html
index 6098a48..0130499 100644
--- a/doc/zmq_msg_copy.html
+++ b/doc/zmq_msg_copy.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_msg_copy(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_msg_copy(3) Manual Page
@@ -560,13 +580,10 @@ zmq_msg_copy(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_msg_copy (zmq_msg_t <em>*dest</em>, zmq_msg_t <em>*src</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_copy()</em> function shall copy the message object referenced by <em>src</em>
@@ -595,15 +612,11 @@ copy the message content using <em>memcpy()</em>.</td>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_copy()</em> function shall return zero if successful. Otherwise it
shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -617,8 +630,6 @@ Invalid message.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_msg_move.html">zmq_msg_move(3)</a>
@@ -628,20 +639,17 @@ Invalid message.
<a href="zmq_msg_close.html">zmq_msg_close(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-04-20 12:15:32 CEST
+ØMQ 2.1.7<br />
+Last updated 2011-05-06 12:19:55 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_msg_data.3 b/doc/zmq_msg_data.3
index b623cb6..8a18ce1 100644
--- a/doc/zmq_msg_data.3
+++ b/doc/zmq_msg_data.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_data
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_MSG_DATA" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_MSG_DATA" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_data.html b/doc/zmq_msg_data.html
index 3e06bd6..76d547a 100644
--- a/doc/zmq_msg_data.html
+++ b/doc/zmq_msg_data.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_msg_data(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_msg_data(3) Manual Page
@@ -560,13 +580,10 @@ zmq_msg_data(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>void *zmq_msg_data (zmq_msg_t <em>*msg</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_data()</em> function shall return a pointer to the message content of
@@ -581,21 +598,15 @@ the message object referenced by <em>msg</em>.</p></div>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>Upon successful completion, <em>zmq_msg_data()</em> shall return a pointer to the
message content.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>No errors are defined.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_msg_size.html">zmq_msg_size(3)</a>
@@ -605,20 +616,17 @@ message content.</p></div>
<a href="zmq_msg_close.html">zmq_msg_close(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.7<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_msg_init.3 b/doc/zmq_msg_init.3
index 94e7f4a..f2029b7 100644
--- a/doc/zmq_msg_init.3
+++ b/doc/zmq_msg_init.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_init
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_MSG_INIT" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_MSG_INIT" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_init.html b/doc/zmq_msg_init.html
index 5ecfe77..8d836ec 100644
--- a/doc/zmq_msg_init.html
+++ b/doc/zmq_msg_init.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_msg_init(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_msg_init(3) Manual Page
@@ -560,13 +580,10 @@ zmq_msg_init(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_msg_init (zmq_msg_t <em>*msg</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_init()</em> function shall initialise the message object referenced by
@@ -592,21 +609,15 @@ before receiving a message with <em>zmq_recv()</em>.</p></div>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_init()</em> function shall return zero if successful. Otherwise it
shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>No errors are defined.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -619,8 +630,6 @@ rc = zmq_recv (socket, &amp;msg, 0);
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_msg_init_size.html">zmq_msg_init_size(3)</a>
@@ -630,20 +639,17 @@ assert (rc == 0);</tt></pre>
<a href="zmq_msg_size.html">zmq_msg_size(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.7<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_msg_init_data.3 b/doc/zmq_msg_init_data.3
index 2dcad31..42d84e2 100644
--- a/doc/zmq_msg_init_data.3
+++ b/doc/zmq_msg_init_data.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_init_data
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_MSG_INIT_DATA" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_MSG_INIT_DATA" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_init_data.html b/doc/zmq_msg_init_data.html
index aa6d1c5..2ee1b7e 100644
--- a/doc/zmq_msg_init_data.html
+++ b/doc/zmq_msg_init_data.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_msg_init_data(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_msg_init_data(3) Manual Page
@@ -560,14 +580,11 @@ zmq_msg_init_data(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>typedef void (zmq_free_fn) (void <em>*data</em>, void <em>*hint</em>);</strong></p></div>
<div class="paragraph"><p><strong>int zmq_msg_init_data (zmq_msg_t <em>*msg</em>, void <em>*data</em>, size_t <em>size</em>, zmq_free_fn <em>*ffn</em>, void <em>*hint</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_init_data()</em> function shall initialise the message object
@@ -606,21 +623,15 @@ will be called from an arbitrary thread.</td>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_init_data()</em> function shall return zero if successful. Otherwise
it shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>No errors are defined.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -641,8 +652,6 @@ rc = zmq_msg_init_data (&amp;msg, data, 6, my_free, NULL);
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_msg_init_size.html">zmq_msg_init_size(3)</a>
@@ -652,20 +661,17 @@ assert (rc == 0);</tt></pre>
<a href="zmq_msg_size.html">zmq_msg_size(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-06-12 19:53:02 CEST
+ØMQ 2.1.7<br />
+Last updated 2011-04-04 16:23:53 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_msg_init_size.3 b/doc/zmq_msg_init_size.3
index 31c37c4..12be11d 100644
--- a/doc/zmq_msg_init_size.3
+++ b/doc/zmq_msg_init_size.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_init_size
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_MSG_INIT_SIZE" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_MSG_INIT_SIZE" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_init_size.html b/doc/zmq_msg_init_size.html
index 34c62cc..9d5218d 100644
--- a/doc/zmq_msg_init_size.html
+++ b/doc/zmq_msg_init_size.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_msg_init_size(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_msg_init_size(3) Manual Page
@@ -560,13 +580,10 @@ zmq_msg_init_size(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_msg_init_size (zmq_msg_t <em>*msg</em>, size_t <em>size</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_init_size()</em> function shall allocate any resources required to
@@ -595,15 +612,11 @@ by <em>msg</em> to represent the newly allocated message.</p></div>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_init_size()</em> function shall return zero if successful. Otherwise
it shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -617,8 +630,6 @@ Insufficient storage space is available.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_msg_init_data.html">zmq_msg_init_data(3)</a>
@@ -628,20 +639,17 @@ Insufficient storage space is available.
<a href="zmq_msg_size.html">zmq_msg_size(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.7<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_msg_move.3 b/doc/zmq_msg_move.3
index 2f4573b..0b67df9 100644
--- a/doc/zmq_msg_move.3
+++ b/doc/zmq_msg_move.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_move
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_MSG_MOVE" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_MSG_MOVE" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_move.html b/doc/zmq_msg_move.html
index 63baceb..cbf6c79 100644
--- a/doc/zmq_msg_move.html
+++ b/doc/zmq_msg_move.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_msg_move(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_msg_move(3) Manual Page
@@ -560,13 +580,10 @@ zmq_msg_move(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_msg_move (zmq_msg_t <em>*dest</em>, zmq_msg_t <em>*src</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_move()</em> function shall move the content of the message object
@@ -584,15 +601,11 @@ The original content of <em>dest</em>, if any, shall be released.</p></div>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_move()</em> function shall return zero if successful. Otherwise it
shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -606,8 +619,6 @@ Invalid message.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_msg_copy.html">zmq_msg_copy(3)</a>
@@ -617,20 +628,17 @@ Invalid message.
<a href="zmq_msg_close.html">zmq_msg_close(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-04-20 12:15:32 CEST
+ØMQ 2.1.7<br />
+Last updated 2011-05-06 12:19:55 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_msg_size.3 b/doc/zmq_msg_size.3
index e7557c1..501b615 100644
--- a/doc/zmq_msg_size.3
+++ b/doc/zmq_msg_size.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_size
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_MSG_SIZE" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_MSG_SIZE" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_size.html b/doc/zmq_msg_size.html
index b498438..b59c528 100644
--- a/doc/zmq_msg_size.html
+++ b/doc/zmq_msg_size.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_msg_size(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_msg_size(3) Manual Page
@@ -560,13 +580,10 @@ zmq_msg_size(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>size_t zmq_msg_size (zmq_msg_t <em>*msg</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_msg_size()</em> function shall return the size in bytes of the content of
@@ -581,21 +598,15 @@ the message object referenced by <em>msg</em>.</p></div>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>Upon successful completion, <em>zmq_msg_size()</em> shall return the size of the
message content in bytes.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>No errors are defined.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_msg_data.html">zmq_msg_data(3)</a>
@@ -605,20 +616,17 @@ message content in bytes.</p></div>
<a href="zmq_msg_close.html">zmq_msg_close(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-07-30 17:22:16 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_pgm.7 b/doc/zmq_pgm.7
index 66250f5..60e8fa4 100644
--- a/doc/zmq_pgm.7
+++ b/doc/zmq_pgm.7
@@ -2,12 +2,12 @@
.\" Title: zmq_pgm
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_PGM" "7" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_PGM" "7" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_pgm.html b/doc/zmq_pgm.html
index 64e3e75..5dfc00d 100644
--- a/doc/zmq_pgm.html
+++ b/doc/zmq_pgm.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_pgm(7)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_pgm(7) Manual Page
@@ -560,14 +580,11 @@ zmq_pgm(7) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p>PGM (Pragmatic General Multicast) is a protocol for reliable multicast
transport of data over IP networks.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>ØMQ implements two variants of PGM, the standard protocol where PGM datagrams
@@ -593,8 +610,6 @@ not require any special privileges.</td>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_addressing">ADDRESSING</h2>
<div class="sectionbody">
<div class="paragraph"><p>A ØMQ address string consists of two parts as follows:
@@ -603,8 +618,7 @@ transport protocol to use. For the standard PGM protocol, <em>transport</em> sha
set to <tt>pgm</tt>. For the "Encapsulated PGM" protocol <em>transport</em> shall be set to
<tt>epgm</tt>. The meaning of the <em>endpoint</em> part for both the <em>pgm</em> and <em>epgm</em>
transport is defined below.</p></div>
-<div class="sect2">
-<h3 id="_connecting_a_socket">Connecting a socket</h3>
+<h3 id="_connecting_a_socket">Connecting a socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>When connecting a socket to a peer address using <em>zmq_connect()</em> with the <em>pgm</em>
or <em>epgm</em> transport, the <em>endpoint</em> shall be interpreted as an <em>interface</em>
followed by a semicolon, followed by a <em>multicast address</em>, followed by a colon
@@ -637,9 +651,6 @@ names exist, thus only the primary IPv4 address may be used to specify an
<div class="paragraph"><p>A <em>multicast address</em> is specified by an IPv4 multicast address in its numeric
representation.</p></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_wire_format">WIRE FORMAT</h2>
<div class="sectionbody">
<div class="paragraph"><p>Consecutive PGM datagrams are interpreted by ØMQ as a single continuous stream
@@ -647,8 +658,7 @@ of data where ØMQ messages are not necessarily aligned with PGM datagram
boundaries and a single ØMQ message may span several PGM datagrams. This stream
of data consists of ØMQ messages encapsulated in <em>frames</em> as described in
<a href="zmq_tcp.html">zmq_tcp(7)</a>.</p></div>
-<div class="sect2">
-<h3 id="_pgm_datagram_payload">PGM datagram payload</h3>
+<h3 id="_pgm_datagram_payload">PGM datagram payload</h3><div style="clear:left"></div>
<div class="paragraph"><p>The following ABNF grammar represents the payload of a single PGM datagram as
used by ØMQ:</p></div>
<div class="literalblock">
@@ -696,9 +706,6 @@ Third datagram payload
+--------------+----------------------------+-------------+</tt></pre>
</div></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -716,8 +723,6 @@ rc = zmq_connect(socket, "pgm://192.168.1.1;239.192.1.1:5555");
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_connect.html">zmq_connect(3)</a>
@@ -727,20 +732,17 @@ assert (rc == 0);</tt></pre>
<a href="zmq_inproc.html">zmq_inproc(7)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-07-30 17:22:16 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_poll.3 b/doc/zmq_poll.3
index 38d76be..351caa3 100644
--- a/doc/zmq_poll.3
+++ b/doc/zmq_poll.3
@@ -2,12 +2,12 @@
.\" Title: zmq_poll
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_POLL" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_POLL" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_poll.html b/doc/zmq_poll.html
index eb1c214..c2645dd 100644
--- a/doc/zmq_poll.html
+++ b/doc/zmq_poll.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_poll(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_poll(3) Manual Page
@@ -560,13 +580,10 @@ zmq_poll(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_poll (zmq_pollitem_t <em>*items</em>, int <em>nitems</em>, long <em>timeout</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_poll()</em> function provides a mechanism for applications to multiplex
@@ -656,8 +673,6 @@ of those interfaces in ways not defined in this documentation.</td>
</tr></table>
</div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>Upon successful completion, the <em>zmq_poll()</em> function shall return the number
@@ -665,8 +680,6 @@ of <strong>zmq_pollitem_t</strong> structures with events signaled in <em>revent
events have been signaled. Upon failure, <em>zmq_poll()</em> shall return <tt>-1</tt> and set
<em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -698,8 +711,6 @@ available.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -719,8 +730,6 @@ assert (rc &gt;= 0);
/* Returned events will be stored in items[].revents */</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_socket.html">zmq_socket(3)</a>
@@ -729,20 +738,17 @@ assert (rc &gt;= 0);
<a href="zmq.html">zmq(7)</a></p></div>
<div class="paragraph"><p>Your operating system documentation for the <em>poll()</em> system call.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-06-09 19:50:07 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_recv.3 b/doc/zmq_recv.3
index 6ea3446..925d1a5 100644
--- a/doc/zmq_recv.3
+++ b/doc/zmq_recv.3
@@ -2,12 +2,12 @@
.\" Title: zmq_recv
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_RECV" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_RECV" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_recv.html b/doc/zmq_recv.html
index 6fa3751..b27b619 100644
--- a/doc/zmq_recv.html
+++ b/doc/zmq_recv.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_recv(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_recv(3) Manual Page
@@ -560,13 +580,10 @@ zmq_recv(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_recv (void <em>*socket</em>, zmq_msg_t <em>*msg</em>, int <em>flags</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_recv()</em> function shall receive a message from the socket referenced by
@@ -587,8 +604,7 @@ shall fail with <em>errno</em> set to EAGAIN.
</p>
</dd>
</dl></div>
-<div class="sect2">
-<h3 id="_multi_part_messages">Multi-part messages</h3>
+<h3 id="_multi_part_messages">Multi-part messages</h3><div style="clear:left"></div>
<div class="paragraph"><p>A ØMQ message is composed of 1 or more message parts; each message part is an
independent <em>zmq_msg_t</em> in its own right. ØMQ ensures atomic delivery of
messages; peers shall receive either all <em>message parts</em> of a message or none
@@ -601,16 +617,11 @@ follow, or if the message is not composed of multiple parts, <em>ZMQ_RCVMORE</em
shall report a value of zero. Otherwise, <em>ZMQ_RCVMORE</em> shall report a value of
1, indicating that more message parts are to follow.</p></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_recv()</em> function shall return zero if successful. Otherwise it shall
return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -676,8 +687,6 @@ The message passed to the function was invalid.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -713,8 +722,6 @@ do {
} while (more);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_send.html">zmq_send(3)</a>
@@ -722,20 +729,17 @@ do {
<a href="zmq_socket.html">zmq_socket(7)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-06-09 19:50:07 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_send.3 b/doc/zmq_send.3
index 3c8ce2e..e240a73 100644
--- a/doc/zmq_send.3
+++ b/doc/zmq_send.3
@@ -2,12 +2,12 @@
.\" Title: zmq_send
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_SEND" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_SEND" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_send.html b/doc/zmq_send.html
index 559eb38..9ba1f96 100644
--- a/doc/zmq_send.html
+++ b/doc/zmq_send.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_send(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_send(3) Manual Page
@@ -560,13 +580,10 @@ zmq_send(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_send (void <em>*socket</em>, zmq_msg_t <em>*msg</em>, int <em>flags</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_send()</em> function shall queue the message referenced by the <em>msg</em>
@@ -607,8 +624,7 @@ message has been transmitted to the network, only that it has been queued on
the <em>socket</em> and ØMQ has assumed responsibility for the message.</td>
</tr></table>
</div>
-<div class="sect2">
-<h3 id="_multi_part_messages">Multi-part messages</h3>
+<h3 id="_multi_part_messages">Multi-part messages</h3><div style="clear:left"></div>
<div class="paragraph"><p>A ØMQ message is composed of 1 or more message parts; each message part is an
independent <em>zmq_msg_t</em> in its own right. ØMQ ensures atomic delivery of
messages; peers shall receive either all <em>message parts</em> of a message or none
@@ -621,16 +637,11 @@ are to follow. When the application wishes to send the final message part it
does so by calling <em>zmq_send()</em> without the <em>ZMQ_SNDMORE</em> flag; this indicates
that no more message parts are to follow.</p></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_send()</em> function shall return zero if successful. Otherwise it shall
return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -696,8 +707,6 @@ Invalid message.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -723,28 +732,23 @@ rc = zmq_send (socket, &amp;part2, ZMQ_SNDMORE);
rc = zmq_send (socket, &amp;part3, 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_recv.html">zmq_recv(3)</a>
<a href="zmq_socket.html">zmq_socket(7)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-06-09 19:50:07 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_setsockopt.3 b/doc/zmq_setsockopt.3
index c700d41..5e57261 100644
--- a/doc/zmq_setsockopt.3
+++ b/doc/zmq_setsockopt.3
@@ -2,12 +2,12 @@
.\" Title: zmq_setsockopt
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_SETSOCKOPT" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_SETSOCKOPT" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_setsockopt.html b/doc/zmq_setsockopt.html
index 6686dc3..d3b17ca 100644
--- a/doc/zmq_setsockopt.html
+++ b/doc/zmq_setsockopt.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_setsockopt(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_setsockopt(3) Manual Page
@@ -560,15 +580,12 @@ zmq_setsockopt(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_setsockopt (void <em>*socket</em>, int <em>option_name</em>, const void <em>*option_value</em>, size_t <em>option_len</em>);</strong></p></div>
<div class="paragraph"><p>Caution: All options, with the exception of ZMQ_SUBSCRIBE, ZMQ_UNSUBSCRIBE and
ZMQ_LINGER, only take effect for subsequent socket bind/connects.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_setsockopt()</em> function shall set the option specified by the
@@ -576,8 +593,7 @@ ZMQ_LINGER, only take effect for subsequent socket bind/connects.</p></div>
for the ØMQ socket pointed to by the <em>socket</em> argument. The <em>option_len</em>
argument is the size of the option value in bytes.</p></div>
<div class="paragraph"><p>The following socket options can be set with the <em>zmq_setsockopt()</em> function:</p></div>
-<div class="sect2">
-<h3 id="_zmq_hwm_set_high_water_mark">ZMQ_HWM: Set high water mark</h3>
+<h3 id="_zmq_hwm_set_high_water_mark">ZMQ_HWM: Set high water mark</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_HWM</em> option shall set the high water mark for the specified <em>socket</em>.
The high water mark is a hard limit on the maximum number of outstanding
messages ØMQ shall queue in memory for any single peer that the specified
@@ -634,9 +650,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_swap_set_disk_offload_size">ZMQ_SWAP: Set disk offload size</h3>
+<h3 id="_zmq_swap_set_disk_offload_size">ZMQ_SWAP: Set disk offload size</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_SWAP</em> option shall set the disk offload (swap) size for the specified
<em>socket</em>. A socket which has <em>ZMQ_SWAP</em> set to a non-zero value may exceed its
high water mark; in this case outstanding messages shall be offloaded to
@@ -688,9 +702,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_affinity_set_i_o_thread_affinity">ZMQ_AFFINITY: Set I/O thread affinity</h3>
+<h3 id="_zmq_affinity_set_i_o_thread_affinity">ZMQ_AFFINITY: Set I/O thread affinity</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_AFFINITY</em> option shall set the I/O thread affinity for newly created
connections on the specified <em>socket</em>.</p></div>
<div class="paragraph"><p>Affinity determines which threads from the ØMQ I/O thread pool associated with
@@ -748,9 +760,7 @@ N/A
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_identity_set_socket_identity">ZMQ_IDENTITY: Set socket identity</h3>
+<h3 id="_zmq_identity_set_socket_identity">ZMQ_IDENTITY: Set socket identity</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_IDENTITY</em> option shall set the identity of the specified <em>socket</em>.
Socket identity determines if existing ØMQ infrastructure (<em>message queues</em>,
<em>forwarding devices</em>) shall be identified with a specific application and
@@ -808,9 +818,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_subscribe_establish_message_filter">ZMQ_SUBSCRIBE: Establish message filter</h3>
+<h3 id="_zmq_subscribe_establish_message_filter">ZMQ_SUBSCRIBE: Establish message filter</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_SUBSCRIBE</em> option shall establish a new message filter on a <em>ZMQ_SUB</em>
socket. Newly created <em>ZMQ_SUB</em> sockets shall filter out all incoming messages,
therefore you should call this option to establish an initial message filter.</p></div>
@@ -865,9 +873,7 @@ ZMQ_SUB
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_unsubscribe_remove_message_filter">ZMQ_UNSUBSCRIBE: Remove message filter</h3>
+<h3 id="_zmq_unsubscribe_remove_message_filter">ZMQ_UNSUBSCRIBE: Remove message filter</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_UNSUBSCRIBE</em> option shall remove an existing message filter on a
<em>ZMQ_SUB</em> socket. The filter specified must match an existing filter previously
established with the <em>ZMQ_SUBSCRIBE</em> option. If the socket has several
@@ -919,9 +925,7 @@ ZMQ_SUB
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_rate_set_multicast_data_rate">ZMQ_RATE: Set multicast data rate</h3>
+<h3 id="_zmq_rate_set_multicast_data_rate">ZMQ_RATE: Set multicast data rate</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RATE</em> option shall set the maximum send or receive data rate for
multicast transports such as <a href="zmq_pgm.html">zmq_pgm(7)</a> using the specified <em>socket</em>.</p></div>
<div class="hdlist"><table>
@@ -970,9 +974,7 @@ all, when using multicast transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_recovery_ivl_set_multicast_recovery_interval">ZMQ_RECOVERY_IVL: Set multicast recovery interval</h3>
+<h3 id="_zmq_recovery_ivl_set_multicast_recovery_interval">ZMQ_RECOVERY_IVL: Set multicast recovery interval</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RECOVERY_IVL</em> option shall set the recovery interval for multicast
transports using the specified <em>socket</em>. The recovery interval determines the
maximum time in seconds that a receiver can be absent from a multicast group
@@ -1033,9 +1035,7 @@ all, when using multicast transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_recovery_ivl_msec_set_multicast_recovery_interval_in_milliseconds">ZMQ_RECOVERY_IVL_MSEC: Set multicast recovery interval in milliseconds</h3>
+<h3 id="_zmq_recovery_ivl_msec_set_multicast_recovery_interval_in_milliseconds">ZMQ_RECOVERY_IVL_MSEC: Set multicast recovery interval in milliseconds</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RECOVERY_IVL_MSEC</em> option shall set the recovery interval, specified
in milliseconds (ms) for multicast transports using the specified <em>socket</em>.
The recovery interval determines the maximum time in milliseconds that a
@@ -1101,9 +1101,7 @@ all, when using multicast transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_mcast_loop_control_multicast_loop_back">ZMQ_MCAST_LOOP: Control multicast loop-back</h3>
+<h3 id="_zmq_mcast_loop_control_multicast_loop_back">ZMQ_MCAST_LOOP: Control multicast loop-back</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_MCAST_LOOP</em> option shall control whether data sent via multicast
transports using the specified <em>socket</em> can also be received by the sending
host via loop-back. A value of zero disables the loop-back functionality, while
@@ -1157,9 +1155,7 @@ all, when using multicast transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_sndbuf_set_kernel_transmit_buffer_size">ZMQ_SNDBUF: Set kernel transmit buffer size</h3>
+<h3 id="_zmq_sndbuf_set_kernel_transmit_buffer_size">ZMQ_SNDBUF: Set kernel transmit buffer size</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_SNDBUF</em> option shall set the underlying kernel transmit buffer size
for the <em>socket</em> to the specified size in bytes. A value of zero means leave
the OS default unchanged. For details please refer to your operating system
@@ -1210,9 +1206,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_rcvbuf_set_kernel_receive_buffer_size">ZMQ_RCVBUF: Set kernel receive buffer size</h3>
+<h3 id="_zmq_rcvbuf_set_kernel_receive_buffer_size">ZMQ_RCVBUF: Set kernel receive buffer size</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RCVBUF</em> option shall set the underlying kernel receive buffer size for
the <em>socket</em> to the specified size in bytes. A value of zero means leave the
OS default unchanged. For details refer to your operating system documentation
@@ -1263,9 +1257,7 @@ all
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_linger_set_linger_period_for_socket_shutdown">ZMQ_LINGER: Set linger period for socket shutdown</h3>
+<h3 id="_zmq_linger_set_linger_period_for_socket_shutdown">ZMQ_LINGER: Set linger period for socket shutdown</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_LINGER</em> option shall set the linger period for the specified <em>socket</em>.
The linger period determines how long pending messages which have yet to be
sent to a peer shall linger in memory after a socket is closed with
@@ -1343,9 +1335,7 @@ all
</table></div>
</li>
</ul></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_reconnect_ivl_set_reconnection_interval">ZMQ_RECONNECT_IVL: Set reconnection interval</h3>
+<h3 id="_zmq_reconnect_ivl_set_reconnection_interval">ZMQ_RECONNECT_IVL: Set reconnection interval</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RECONNECT_IVL</em> option shall set the initial reconnection interval for
the specified <em>socket</em>. The reconnection interval is the period ØMQ
shall wait between attempts to reconnect disconnected peers when using
@@ -1405,9 +1395,7 @@ all, only for connection-oriented transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_reconnect_ivl_max_set_maximum_reconnection_interval">ZMQ_RECONNECT_IVL_MAX: Set maximum reconnection interval</h3>
+<h3 id="_zmq_reconnect_ivl_max_set_maximum_reconnection_interval">ZMQ_RECONNECT_IVL_MAX: Set maximum reconnection interval</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_RECONNECT_IVL_MAX</em> option shall set the maximum reconnection interval
for the specified <em>socket</em>. This is the maximum period ØMQ shall wait between
attempts to reconnect. On each reconnect attempt, the previous interval shall be
@@ -1468,9 +1456,7 @@ all, only for connection-oriented transports
</td>
</tr>
</table></div>
-</div>
-<div class="sect2">
-<h3 id="_zmq_backlog_set_maximum_length_of_the_queue_of_outstanding_connections">ZMQ_BACKLOG: Set maximum length of the queue of outstanding connections</h3>
+<h3 id="_zmq_backlog_set_maximum_length_of_the_queue_of_outstanding_connections">ZMQ_BACKLOG: Set maximum length of the queue of outstanding connections</h3><div style="clear:left"></div>
<div class="paragraph"><p>The <em>ZMQ_BACKLOG</em> option shall set the maximum length of the queue of
outstanding peer connections for the specified <em>socket</em>; this only applies to
connection-oriented transports. For details refer to your operating system
@@ -1522,16 +1508,11 @@ all, only for connection-oriented transports.
</tr>
</table></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_setsockopt()</em> function shall return zero if successful. Otherwise it
shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -1570,8 +1551,6 @@ The operation was interrupted by delivery of a signal.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -1601,28 +1580,23 @@ rc = zmq_bind (socket, "tcp://lo:5556");
assert (rc);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_getsockopt.html">zmq_getsockopt(3)</a>
<a href="zmq_socket.html">zmq_socket(3)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-07-30 17:22:16 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_socket.3 b/doc/zmq_socket.3
index a7254e4..4fa0e54 100644
--- a/doc/zmq_socket.3
+++ b/doc/zmq_socket.3
@@ -2,12 +2,12 @@
.\" Title: zmq_socket
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_SOCKET" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_SOCKET" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_socket.html b/doc/zmq_socket.html
index 9a8266d..b77ab08 100644
--- a/doc/zmq_socket.html
+++ b/doc/zmq_socket.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_socket(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_socket(3) Manual Page
@@ -560,13 +580,10 @@ zmq_socket(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>void *zmq_socket (void <em>*context</em>, int <em>type</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_socket()</em> function shall create a ØMQ socket within the specified
@@ -600,12 +617,10 @@ from multiple threads except after migrating a socket from one thread to
another with a "full fence" memory barrier.</p></div>
<div class="paragraph"><div class="title">Socket types</div><p>The following sections present the socket types defined by ØMQ, grouped by the
general <em>messaging pattern</em> which is built from related socket types.</p></div>
-<div class="sect2">
-<h3 id="_request_reply_pattern">Request-reply pattern</h3>
+<h3 id="_request_reply_pattern">Request-reply pattern</h3><div style="clear:left"></div>
<div class="paragraph"><p>The request-reply pattern is used for sending requests from a <em>client</em> to one
or more instances of a <em>service</em>, and receiving subsequent replies to each
request sent.</p></div>
-<div class="sect3">
<h4 id="_zmq_req">ZMQ_REQ</h4>
<div class="paragraph"><p>A socket of type <em>ZMQ_REQ</em> is used by a <em>client</em> to send requests to and
receive replies from a <em>service</em>. This socket type allows only an alternating
@@ -685,8 +700,6 @@ Block
</td>
</tr>
</table></div>
-</div>
-<div class="sect3">
<h4 id="_zmq_rep">ZMQ_REP</h4>
<div class="paragraph"><p>A socket of type <em>ZMQ_REP</em> is used by a <em>service</em> to receive requests from and
send replies to a <em>client</em>. This socket type allows only an alternating
@@ -765,8 +778,6 @@ Drop
</td>
</tr>
</table></div>
-</div>
-<div class="sect3">
<h4 id="_zmq_dealer">ZMQ_DEALER</h4>
<div class="paragraph"><p>A socket of type <em>ZMQ_DEALER</em> is an advanced pattern used for extending
request/reply sockets. Each message sent is load-balanced among all connected
@@ -849,8 +860,6 @@ Block
</td>
</tr>
</table></div>
-</div>
-<div class="sect3">
<h4 id="_zmq_router">ZMQ_ROUTER</h4>
<div class="paragraph"><p>A socket of type <em>ZMQ_ROUTER</em> is an advanced pattern used for extending
request/reply sockets. When receiving messages a <em>ZMQ_ROUTER</em> socket shall
@@ -941,13 +950,9 @@ Drop
</td>
</tr>
</table></div>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_publish_subscribe_pattern">Publish-subscribe pattern</h3>
+<h3 id="_publish_subscribe_pattern">Publish-subscribe pattern</h3><div style="clear:left"></div>
<div class="paragraph"><p>The publish-subscribe pattern is used for one-to-many distribution of data from
a single <em>publisher</em> to multiple <em>subscribers</em> in a fan out fashion.</p></div>
-<div class="sect3">
<h4 id="_zmq_pub">ZMQ_PUB</h4>
<div class="paragraph"><p>A socket of type <em>ZMQ_PUB</em> is used by a <em>publisher</em> to distribute data.
Messages sent are distributed in a fan out fashion to all connected peers.
@@ -1024,8 +1029,6 @@ Drop
</td>
</tr>
</table></div>
-</div>
-<div class="sect3">
<h4 id="_zmq_sub">ZMQ_SUB</h4>
<div class="paragraph"><p>A socket of type <em>ZMQ_SUB</em> is used by a <em>subscriber</em> to subscribe to data
distributed by a <em>publisher</em>. Initially a <em>ZMQ_SUB</em> socket is not subscribed to
@@ -1100,15 +1103,11 @@ Drop
</td>
</tr>
</table></div>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_pipeline_pattern">Pipeline pattern</h3>
+<h3 id="_pipeline_pattern">Pipeline pattern</h3><div style="clear:left"></div>
<div class="paragraph"><p>The pipeline pattern is used for distributing data to <em>nodes</em> arranged in
a pipeline. Data always flows down the pipeline, and each stage of the pipeline
is connected to at least one <em>node</em>. When a pipeline stage is connected to
multiple <em>nodes</em> data is load-balanced among all connected <em>nodes</em>.</p></div>
-<div class="sect3">
<h4 id="_zmq_push">ZMQ_PUSH</h4>
<div class="paragraph"><p>A socket of type <em>ZMQ_PUSH</em> is used by a pipeline <em>node</em> to send messages
to downstream pipeline <em>nodes</em>. Messages are load-balanced to all connected
@@ -1188,8 +1187,6 @@ Block
</td>
</tr>
</table></div>
-</div>
-<div class="sect3">
<h4 id="_zmq_pull">ZMQ_PULL</h4>
<div class="paragraph"><p>A socket of type <em>ZMQ_PULL</em> is used by a pipeline <em>node</em> to receive messages
from upstream pipeline <em>nodes</em>. Messages are fair-queued from among all
@@ -1264,14 +1261,10 @@ N/A
</td>
</tr>
</table></div>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_exclusive_pair_pattern">Exclusive pair pattern</h3>
+<h3 id="_exclusive_pair_pattern">Exclusive pair pattern</h3><div style="clear:left"></div>
<div class="paragraph"><p>The exclusive pair pattern is used to connect a peer to precisely one other
peer. This pattern is used for inter-thread communication across the inproc
transport.</p></div>
-<div class="sect3">
<h4 id="_zmq_pair">ZMQ_PAIR</h4>
<div class="paragraph"><p>A socket of type <em>ZMQ_PAIR</em> can only be connected to a single peer at any one
time. No message routing or filtering is performed on messages sent over a
@@ -1360,18 +1353,12 @@ Block
</tr>
</table></div>
</div>
-</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_socket()</em> function shall return an opaque handle to the newly created
socket if successful. Otherwise, it shall return NULL and set <em>errno</em> to one of
the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -1409,8 +1396,6 @@ The context specified was terminated.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_init.html">zmq_init(3)</a>
@@ -1422,20 +1407,17 @@ The context specified was terminated.
<a href="zmq_inproc.html">zmq_inproc(7)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-07-30 17:22:16 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_strerror.3 b/doc/zmq_strerror.3
index 4544538..3932733 100644
--- a/doc/zmq_strerror.3
+++ b/doc/zmq_strerror.3
@@ -2,12 +2,12 @@
.\" Title: zmq_strerror
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_STRERROR" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_STRERROR" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_strerror.html b/doc/zmq_strerror.html
index 944c7cc..7e01d4e 100644
--- a/doc/zmq_strerror.html
+++ b/doc/zmq_strerror.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_strerror(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_strerror(3) Manual Page
@@ -560,13 +580,10 @@ zmq_strerror(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>const char *zmq_strerror (int <em>errnum</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_strerror()</em> function shall return a pointer to an error message string
@@ -575,21 +592,15 @@ defines additional error numbers over and above those defined by the operating
system, applications should use <em>zmq_strerror()</em> in preference to the standard
<em>strerror()</em> function.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_strerror()</em> function shall return a pointer to an error message
string.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>No errors are defined.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -602,26 +613,21 @@ if (!ctx) {
}</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.7<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_tcp.7 b/doc/zmq_tcp.7
index 673f362..db51c53 100644
--- a/doc/zmq_tcp.7
+++ b/doc/zmq_tcp.7
@@ -2,12 +2,12 @@
.\" Title: zmq_tcp
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_TCP" "7" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_TCP" "7" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_tcp.html b/doc/zmq_tcp.html
index 5256a84..cf5b7ed 100644
--- a/doc/zmq_tcp.html
+++ b/doc/zmq_tcp.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_tcp(7)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_tcp(7) Manual Page
@@ -560,23 +580,19 @@ zmq_tcp(7) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p>TCP is an ubiquitous, reliable, unicast transport. When connecting distributed
applications over a network with ØMQ, using the TCP transport will likely be
your first choice.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_addressing">ADDRESSING</h2>
<div class="sectionbody">
<div class="paragraph"><p>A ØMQ address string consists of two parts as follows:
<em>transport</em><tt>://</tt><em>endpoint</em>. The <em>transport</em> part specifies the underlying
transport protocol to use, and for the TCP transport shall be set to <tt>tcp</tt>.
The meaning of the <em>endpoint</em> part for the TCP transport is defined below.</p></div>
-<div class="sect2">
-<h3 id="_assigning_a_local_address_to_a_socket">Assigning a local address to a socket</h3>
+<h3 id="_assigning_a_local_address_to_a_socket">Assigning a local address to a socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>When assigning a local address to a socket using <em>zmq_bind()</em> with the <em>tcp</em>
transport, the <em>endpoint</em> shall be interpreted as an <em>interface</em> followed by a
colon and the TCP port number to use.</p></div>
@@ -610,9 +626,7 @@ names exist, thus only the primary IPv4 address may be used to specify an
<em>interface</em>.</td>
</tr></table>
</div>
-</div>
-<div class="sect2">
-<h3 id="_connecting_a_socket">Connecting a socket</h3>
+<h3 id="_connecting_a_socket">Connecting a socket</h3><div style="clear:left"></div>
<div class="paragraph"><p>When connecting a socket to a peer address using <em>zmq_connect()</em> with the <em>tcp</em>
transport, the <em>endpoint</em> shall be interpreted as a <em>peer address</em> followed by
a colon and the TCP port number to use.</p></div>
@@ -630,9 +644,6 @@ The IPv4 address of the peer, in its numeric representation.
</li>
</ul></div>
</div>
-</div>
-</div>
-<div class="sect1">
<h2 id="_wire_format">WIRE FORMAT</h2>
<div class="sectionbody">
<div class="paragraph"><p>ØMQ messages are transmitted over TCP in frames consisting of an encoded
@@ -692,8 +703,6 @@ exceeding 254 octets:</p></div>
+-+-+-+-+-+-+-+ ...</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -720,8 +729,6 @@ rc = zmq_connect(socket, "tcp://server1:5555");
assert (rc == 0);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq_bind.html">zmq_bind(3)</a>
@@ -731,20 +738,17 @@ assert (rc == 0);</tt></pre>
<a href="zmq_inproc.html">zmq_inproc(7)</a>
<a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-07-30 17:22:16 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_term.3 b/doc/zmq_term.3
index 8a741b0..c285f53 100644
--- a/doc/zmq_term.3
+++ b/doc/zmq_term.3
@@ -2,12 +2,12 @@
.\" Title: zmq_term
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 09/08/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.10
.\" Language: English
.\"
-.TH "ZMQ_TERM" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_TERM" "3" "09/08/2011" "0MQ 2\&.1\&.10" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_term.html b/doc/zmq_term.html
index 3a948fe..6f6ecf1 100644
--- a/doc/zmq_term.html
+++ b/doc/zmq_term.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_term(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_term(3) Manual Page
@@ -560,13 +580,10 @@ zmq_term(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>int zmq_term (void <em>*context</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_term()</em> function shall terminate the ØMQ context <em>context</em>.</p></div>
@@ -605,15 +622,11 @@ For each socket within <em>context</em>, all messages sent by the application
<div class="paragraph"><p>For further details regarding socket linger behaviour refer to the <em>ZMQ_LINGER</em>
option in <a href="zmq_setsockopt.html">zmq_setsockopt(3)</a>.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_term()</em> function shall return zero if successful. Otherwise it shall
return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
@@ -635,8 +648,6 @@ Termination was interrupted by a signal. It can be restarted if needed.
</dd>
</dl></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq.html">zmq(7)</a>
@@ -644,20 +655,17 @@ Termination was interrupted by a signal. It can be restarted if needed.
<a href="zmq_close.html">zmq_close(3)</a>
<a href="zmq_setsockopt.html">zmq_setsockopt(3)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-06-09 19:50:07 CEST
+ØMQ 2.1.10<br />
+Last updated 2011-08-23 16:01:49 CDT
</div>
</div>
</body>
diff --git a/doc/zmq_version.3 b/doc/zmq_version.3
index c64f7d3..ba54ad6 100644
--- a/doc/zmq_version.3
+++ b/doc/zmq_version.3
@@ -2,12 +2,12 @@
.\" Title: zmq_version
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 08/29/2011
+.\" Date: 07/01/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.9
+.\" Source: 0MQ 2.1.8
.\" Language: English
.\"
-.TH "ZMQ_VERSION" "3" "08/29/2011" "0MQ 2\&.1\&.9" "0MQ Manual"
+.TH "ZMQ_VERSION" "3" "07/01/2011" "0MQ 2\&.1\&.8" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_version.html b/doc/zmq_version.html
index 9a91e09..a1c0047 100644
--- a/doc/zmq_version.html
+++ b/doc/zmq_version.html
@@ -2,28 +2,15 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.3" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="generator" content="AsciiDoc 8.5.2" />
<title>zmq_version(3)</title>
<style type="text/css">
-/* Sans-serif font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-div#toctitle,
-span#author, span#revnumber, span#revdate, span#revremark,
-div#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-/* Serif font. */
-div.sectionbody {
- font-family: Georgia,"Times New Roman",Times,serif;
-}
-
-/* Monospace font. */
-tt {
- font-size: inherit;
+/* Debug borders */
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
+/*
+ border: 1px solid red;
+*/
}
body {
@@ -49,12 +36,12 @@ strong {
}
tt {
- font-size: inherit;
color: navy;
}
h1, h2, h3, h4, h5, h6 {
color: #527bbd;
+ font-family: sans-serif;
margin-top: 1.2em;
margin-bottom: 0.5em;
line-height: 1.3;
@@ -74,6 +61,7 @@ h3 + * {
}
div.sectionbody {
+ font-family: serif;
margin-left: 0;
}
@@ -89,8 +77,6 @@ p {
ul, ol, li > p {
margin-top: 0;
}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
pre {
padding: 0;
@@ -99,15 +85,18 @@ pre {
span#author {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
font-size: 1.1em;
}
span#email {
}
span#revnumber, span#revdate, span#revremark {
+ font-family: sans-serif;
}
div#footer {
+ font-family: sans-serif;
font-size: small;
border-top: 2px solid silver;
padding-top: 0.5em;
@@ -146,6 +135,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
color: #527bbd;
+ font-family: sans-serif;
font-weight: bold;
text-align: left;
margin-top: 1.0em;
@@ -167,15 +157,13 @@ div.content + div.title {
div.sidebarblock > div.content {
background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
+ border: 1px solid silver;
padding: 0.5em;
}
div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
+ border: 1px solid silver;
+ background: #f4f4f4;
padding: 0.5em;
}
@@ -183,7 +171,7 @@ div.quoteblock, div.verseblock {
padding-left: 1.0em;
margin-left: 1.0em;
margin-right: 10%;
- border-left: 5px solid #f0f0f0;
+ border-left: 5px solid #dddddd;
color: #777777;
}
@@ -192,9 +180,8 @@ div.quoteblock > div.attribution {
text-align: right;
}
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
+div.verseblock > div.content {
+ white-space: pre;
}
div.verseblock > div.attribution {
padding-top: 0.75em;
@@ -271,8 +258,8 @@ div.tableblock > table {
border: 3px solid #527bbd;
}
thead, p.table.header {
+ font-family: sans-serif;
font-weight: bold;
- color: #527bbd;
}
tfoot {
font-weight: bold;
@@ -352,14 +339,6 @@ span.footnote, span.footnoteref {
min-width: 100px;
}
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
@media print {
div#footer-badges { display: none; }
@@ -371,6 +350,7 @@ div#toc {
div#toctitle {
color: #527bbd;
+ font-family: sans-serif;
font-size: 1.1em;
font-weight: bold;
margin-top: 1.0em;
@@ -393,7 +373,6 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-
/* Overrides for manpage documents */
h1 {
padding-top: 0.5em;
@@ -412,6 +391,47 @@ div.sectionbody {
div#toc { display: none; }
}
+/* Workarounds for IE6's broken and incomplete CSS2. */
+
+div.sidebar-content {
+ background: #ffffee;
+ border: 1px solid silver;
+ padding: 0.5em;
+}
+div.sidebar-title, div.image-title {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-weight: bold;
+ margin-top: 0.0em;
+ margin-bottom: 0.5em;
+}
+
+div.listingblock div.content {
+ border: 1px solid silver;
+ background: #f4f4f4;
+ padding: 0.5em;
+}
+
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+
+div.exampleblock-content {
+ border-left: 3px solid #dddddd;
+ padding-left: 0.5em;
+}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -547,7 +567,7 @@ footnotes: function () {
/*]]>*/
</script>
</head>
-<body class="manpage">
+<body>
<div id="header">
<h1>
zmq_version(3) Manual Page
@@ -560,13 +580,10 @@ zmq_version(3) Manual Page
</div>
</div>
<div id="content">
-<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>void zmq_version (int <em>*major</em>, int <em>*minor</em>, int <em>*patch</em>);</strong></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>zmq_version()</em> function shall fill in the integer variables pointed to by
@@ -576,20 +593,14 @@ components of the ØMQ library version.</p></div>
dynamically linking to the ØMQ library that wish to determine the actual
version of the ØMQ library they are using.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_return_value">RETURN VALUE</h2>
<div class="sectionbody">
<div class="paragraph"><p>There is no return value.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>No errors are defined.</p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="listingblock">
@@ -600,26 +611,21 @@ zmq_version (&amp;major, &amp;minor, &amp;patch);
printf ("Current 0MQ version is %d.%d.%d\n", major, minor, patch);</tt></pre>
</div></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="zmq.html">zmq(7)</a></p></div>
</div>
-</div>
-<div class="sect1">
<h2 id="_authors">AUTHORS</h2>
<div class="sectionbody">
<div class="paragraph"><p>This ØMQ manual page was written by Martin Sustrik &lt;<a href="mailto:sustrik@250bpm.com">sustrik@250bpm.com</a>&gt; and
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
</div>
</div>
-</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.9<br />
-Last updated 2011-03-13 17:59:17 CET
+ØMQ 2.1.7<br />
+Last updated 2011-03-14 01:40:09 CDT
</div>
</div>
</body>
diff --git a/include/zmq.h b/include/zmq.h
index a897888..0184569 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -55,7 +55,7 @@ extern "C" {
/* Version macros for compile-time API version detection */
#define ZMQ_VERSION_MAJOR 2
#define ZMQ_VERSION_MINOR 1
-#define ZMQ_VERSION_PATCH 9
+#define ZMQ_VERSION_PATCH 10
#define ZMQ_MAKE_VERSION(major, minor, patch) \
((major) * 10000 + (minor) * 100 + (patch))
diff --git a/src/err.hpp b/src/err.hpp
index b540a5d..9558a10 100644
--- a/src/err.hpp
+++ b/src/err.hpp
@@ -21,6 +21,9 @@
#ifndef __ZMQ_ERR_HPP_INCLUDED__
#define __ZMQ_ERR_HPP_INCLUDED__
+// 0MQ-specific error codes are defined in zmq.h
+#include "../include/zmq.h"
+
#include <assert.h>
#include <errno.h>
#include <string.h>
diff --git a/src/ip.cpp b/src/ip.cpp
index 3ea1f29..206f0e9 100644
--- a/src/ip.cpp
+++ b/src/ip.cpp
@@ -18,23 +18,33 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "ip.hpp"
+#include "err.hpp"
+#include "platform.hpp"
+#include "stdint.hpp"
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string>
-#include "../include/zmq.h"
+#if defined ZMQ_HAVE_WINDOWS
+#include "windows.hpp"
+#else
+#include <fcntl.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <netinet/tcp.h>
+#include <unistd.h>
+#endif
-#include "ip.hpp"
-#include "platform.hpp"
-#include "err.hpp"
-#include "stdint.hpp"
+#if defined ZMQ_HAVE_OPENVMS
+#include <ioctl.h>
+#endif
#if defined ZMQ_HAVE_SOLARIS
-
#include <sys/sockio.h>
#include <net/if.h>
-#include <unistd.h>
// On Solaris platform, network interface name can be queried by ioctl.
static int resolve_nic_name (in_addr* addr_, char const *interface_)
@@ -93,9 +103,6 @@ static int resolve_nic_name (in_addr* addr_, char const *interface_)
}
#elif defined ZMQ_HAVE_AIX || ZMQ_HAVE_HPUX || ZMQ_HAVE_ANDROID
-
-#include <sys/types.h>
-#include <unistd.h>
#include <sys/ioctl.h>
#include <net/if.h>
@@ -177,6 +184,29 @@ static int resolve_nic_name (in_addr* addr_, char const *interface_)
#endif
+int zmq::open_socket (int domain_, int type_, int protocol_)
+{
+ // Setting this option result in sane behaviour when exec() functions
+ // are used. Old sockets are closed and don't block TCP ports etc.
+#if defined SOCK_CLOEXEC
+ type_ |= SOCK_CLOEXEC;
+#endif
+
+ int s = socket (domain_, type_, protocol_);
+ if (s == -1)
+ return -1;
+
+ // If there's no SOCK_CLOEXEC, let's try the second best option. Note that
+ // race condition can cause socket not to be closed (if fork happens
+ // between socket creation and this point).
+#if !defined SOCK_CLOEXEC && defined FD_CLOEXEC
+ int rc = fcntl (s, F_SETFD, FD_CLOEXEC);
+ errno_assert (rc != -1);
+#endif
+
+ return s;
+}
+
int zmq::resolve_ip_interface (sockaddr_storage* addr_, socklen_t *addr_len_,
char const *interface_)
{
diff --git a/src/ip.hpp b/src/ip.hpp
index ec2db43..1d44325 100644
--- a/src/ip.hpp
+++ b/src/ip.hpp
@@ -49,6 +49,8 @@
namespace zmq
{
+ // Same as socket(2), but allows for transparent tweaking the options.
+ int open_socket (int domain_, int type_, int protocol_);
// Resolves network interface name in <nic-name>:<port> format. Symbol "*"
// (asterisk) resolves to INADDR_ANY (all network interfaces).
diff --git a/src/kqueue.cpp b/src/kqueue.cpp
index e28ecd7..f173f84 100644
--- a/src/kqueue.cpp
+++ b/src/kqueue.cpp
@@ -73,7 +73,9 @@ void zmq::kqueue_t::kevent_delete (fd_t fd_, short filter_)
EV_SET (&ev, fd_, filter_, EV_DELETE, 0, 0, 0);
int rc = kevent (kqueue_fd, &ev, 1, NULL, 0, NULL);
- errno_assert (rc != -1);
+
+ if (rc == -1 && errno != ENOENT)
+ errno_assert (false);
}
zmq::kqueue_t::handle_t zmq::kqueue_t::add_fd (fd_t fd_,
diff --git a/src/options.cpp b/src/options.cpp
index 92887ab..952907b 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -19,9 +19,11 @@
*/
#include <string.h>
+#ifndef ZMQ_HAVE_WINDOWS
+#include <sys/stat.h>
+#endif
#include "../include/zmq.h"
-
#include "options.hpp"
#include "err.hpp"
@@ -64,6 +66,12 @@ int zmq::options_t::setsockopt (int option_, const void *optval_,
errno = EINVAL;
return -1;
}
+ // Check that SWAP directory (.) is writable
+ struct stat stat_buf;
+ if (stat (".", &stat_buf) || ((stat_buf.st_mode & S_IWRITE) == 0)) {
+ errno = EACCES;
+ return -1;
+ }
swap = *((int64_t*) optval_);
return 0;
diff --git a/src/req.cpp b/src/req.cpp
index 503f221..6a6b6a8 100644
--- a/src/req.cpp
+++ b/src/req.cpp
@@ -84,8 +84,12 @@ int zmq::req_t::xrecv (zmq_msg_t *msg_, int flags_)
int rc = xreq_t::xrecv (msg_, flags_);
if (rc != 0)
return rc;
- zmq_assert (msg_->flags & ZMQ_MSG_MORE);
- zmq_assert (zmq_msg_size (msg_) == 0);
+
+ // TODO: this should also close the connection with the peer
+ if (!(msg_->flags & ZMQ_MSG_MORE) || zmq_msg_size (msg_) != 0) {
+ errno = EAGAIN;
+ return -1;
+ }
message_begins = false;
}
diff --git a/src/signaler.cpp b/src/signaler.cpp
index fa2f123..7b66ea7 100644
--- a/src/signaler.cpp
+++ b/src/signaler.cpp
@@ -215,7 +215,7 @@ int zmq::signaler_t::make_fdpair (fd_t *r_, fd_t *w_)
// Create listening socket.
SOCKET listener;
- listener = socket (AF_INET, SOCK_STREAM, 0);
+ listener = open_socket (AF_INET, SOCK_STREAM, 0);
wsa_assert (listener != INVALID_SOCKET);
// Set SO_REUSEADDR and TCP_NODELAY on listening socket.
@@ -283,7 +283,7 @@ int zmq::signaler_t::make_fdpair (fd_t *r_, fd_t *w_)
lcladdr.sin_addr.s_addr = htonl (INADDR_LOOPBACK);
lcladdr.sin_port = 0;
- int listener = socket (AF_INET, SOCK_STREAM, 0);
+ int listener = open_socket (AF_INET, SOCK_STREAM, 0);
errno_assert (listener != -1);
int on = 1;
@@ -304,7 +304,7 @@ int zmq::signaler_t::make_fdpair (fd_t *r_, fd_t *w_)
rc = listen (listener, 1);
errno_assert (rc != -1);
- *w_ = socket (AF_INET, SOCK_STREAM, 0);
+ *w_ = open_socket (AF_INET, SOCK_STREAM, 0);
errno_assert (*w_ != -1);
rc = setsockopt (*w_, IPPROTO_TCP, TCP_NODELAY, &on, sizeof (on));
diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index 2167b0b..335a858 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -364,10 +364,23 @@ int zmq::socket_base_t::connect (const char *addr_)
if (rc != 0)
return -1;
+ // Checks that protocol is valid and supported on this system
rc = check_protocol (protocol);
if (rc != 0)
return -1;
+ // Parsed address for validation
+ sockaddr_storage addr;
+ socklen_t addr_len;
+
+ if (protocol == "tcp")
+ rc = resolve_ip_hostname (&addr, &addr_len, address.c_str ());
+ else
+ if (protocol == "ipc")
+ rc = resolve_local_path (&addr, &addr_len, address.c_str ());
+ if (rc != 0)
+ return -1;
+
if (protocol == "inproc" || protocol == "sys") {
// TODO: inproc connect is specific with respect to creating pipes
diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp
index d6f73ca..6bc1b2d 100644
--- a/src/tcp_connecter.cpp
+++ b/src/tcp_connecter.cpp
@@ -50,7 +50,7 @@ int zmq::tcp_connecter_t::set_address (const char *protocol_, const char *addr_)
return resolve_ip_hostname (&addr, &addr_len, addr_);
errno = EPROTONOSUPPORT;
- return -1;
+ return -1;
}
int zmq::tcp_connecter_t::open ()
@@ -58,7 +58,7 @@ int zmq::tcp_connecter_t::open ()
zmq_assert (s == retired_fd);
// Create the socket.
- s = socket (addr.ss_family, SOCK_STREAM, IPPROTO_TCP);
+ s = open_socket (addr.ss_family, SOCK_STREAM, IPPROTO_TCP);
if (s == INVALID_SOCKET) {
wsa_error_to_errno ();
return -1;
@@ -88,7 +88,7 @@ int zmq::tcp_connecter_t::open ()
errno = EAGAIN;
return -1;
}
-
+
wsa_error_to_errno ();
return -1;
}
@@ -162,7 +162,8 @@ int zmq::tcp_connecter_t::set_address (const char *protocol_, const char *addr_)
{
if (strcmp (protocol_, "tcp") == 0)
return resolve_ip_hostname (&addr, &addr_len, addr_);
- else if (strcmp (protocol_, "ipc") == 0)
+ else
+ if (strcmp (protocol_, "ipc") == 0)
return resolve_local_path (&addr, &addr_len, addr_);
errno = EPROTONOSUPPORT;
@@ -177,7 +178,7 @@ int zmq::tcp_connecter_t::open ()
if (AF_UNIX != sa->sa_family) {
// Create the socket.
- s = socket (sa->sa_family, SOCK_STREAM, IPPROTO_TCP);
+ s = open_socket (sa->sa_family, SOCK_STREAM, IPPROTO_TCP);
if (s == -1)
return -1;
@@ -233,13 +234,13 @@ int zmq::tcp_connecter_t::open ()
// Create the socket.
zmq_assert (AF_UNIX == sa->sa_family);
- s = socket (AF_UNIX, SOCK_STREAM, 0);
+ s = open_socket (AF_UNIX, SOCK_STREAM, 0);
if (s == -1)
return -1;
// Set the non-blocking flag.
int flag = fcntl (s, F_GETFL, 0);
- if (flag == -1)
+ if (flag == -1)
flag = 0;
int rc = fcntl (s, F_SETFL, flag | O_NONBLOCK);
errno_assert (rc != -1);
diff --git a/src/tcp_listener.cpp b/src/tcp_listener.cpp
index 8de564f..4bfaa85 100644
--- a/src/tcp_listener.cpp
+++ b/src/tcp_listener.cpp
@@ -176,7 +176,7 @@ int zmq::tcp_listener_t::set_address (const char *protocol_, const char *addr_,
return -1;
// Create a listening socket.
- s = socket (addr.ss_family, SOCK_STREAM, IPPROTO_TCP);
+ s = open_socket (addr.ss_family, SOCK_STREAM, IPPROTO_TCP);
if (s == -1)
return -1;
diff --git a/src/tcp_socket.cpp b/src/tcp_socket.cpp
index e7a69e4..07159d8 100644
--- a/src/tcp_socket.cpp
+++ b/src/tcp_socket.cpp
@@ -79,7 +79,7 @@ int zmq::tcp_socket_t::write (const void *data, int size)
// we'll get an error (this may happen during the speculative write).
if (nbytes == SOCKET_ERROR && WSAGetLastError () == WSAEWOULDBLOCK)
return 0;
-
+
// Signalise peer failure.
if (nbytes == -1 && (
WSAGetLastError () == WSAENETDOWN ||
@@ -119,7 +119,7 @@ int zmq::tcp_socket_t::read (void *data, int size)
// Orderly shutdown by the other peer.
if (nbytes == 0)
- return -1;
+ return -1;
return (size_t) nbytes;
}
@@ -200,6 +200,9 @@ int zmq::tcp_socket_t::write (const void *data, int size)
if (nbytes == -1 && (errno == ECONNRESET || errno == EPIPE))
return -1;
+ if (nbytes == 1)
+ fprintf (stderr, "E: unhandled error on send: %d/%s\n",
+ errno, strerror (errno));
errno_assert (nbytes != -1);
return (size_t) nbytes;
}
@@ -220,6 +223,9 @@ int zmq::tcp_socket_t::read (void *data, int size)
errno == ETIMEDOUT || errno == EHOSTUNREACH))
return -1;
+ if (nbytes == 1)
+ fprintf (stderr, "E: unhandled error on recv: %d/%s\n",
+ errno, strerror (errno));
errno_assert (nbytes != -1);
// Orderly shutdown by the other peer.
diff --git a/zeromq.spec b/zeromq.spec
index e99deaf..4b2621a 100644
--- a/zeromq.spec
+++ b/zeromq.spec
@@ -1,5 +1,5 @@
Name: zeromq
-Version: 2.1.9
+Version: 2.1.10
Release: 1%{?dist}
Summary: The ZeroMQ messaging library
Group: Applications/Internet