~ubuntu-branches/ubuntu/wily/zeromq3/wily-proposed

« back to all changes in this revision

Viewing changes to doc/zmq_plain.html

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2014-03-16 14:02:28 UTC
  • mfrom: (1.1.6) (6.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20140316140228-ig1sgh7czk59m9ux
Tags: 4.0.4+dfsg-1
* QA upload; orphan the package
  - Upload to unstable
* New upstream release
* Update repack.stub script
* Drop 02_fix-exported-symbols.patch and 03_fix-s390-rdtsc.patch
  (merged upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 
2
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 
4
<head>
 
5
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
 
6
<meta name="generator" content="AsciiDoc 8.6.6" />
 
7
<title>zmq_plain(7)</title>
 
8
<style type="text/css">
 
9
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
 
10
 
 
11
/* Default font. */
 
12
body {
 
13
  font-family: Georgia,serif;
 
14
}
 
15
 
 
16
/* Title font. */
 
17
h1, h2, h3, h4, h5, h6,
 
18
div.title, caption.title,
 
19
thead, p.table.header,
 
20
#toctitle,
 
21
#author, #revnumber, #revdate, #revremark,
 
22
#footer {
 
23
  font-family: Arial,Helvetica,sans-serif;
 
24
}
 
25
 
 
26
body {
 
27
  margin: 1em 5% 1em 5%;
 
28
}
 
29
 
 
30
a {
 
31
  color: blue;
 
32
  text-decoration: underline;
 
33
}
 
34
a:visited {
 
35
  color: fuchsia;
 
36
}
 
37
 
 
38
em {
 
39
  font-style: italic;
 
40
  color: navy;
 
41
}
 
42
 
 
43
strong {
 
44
  font-weight: bold;
 
45
  color: #083194;
 
46
}
 
47
 
 
48
h1, h2, h3, h4, h5, h6 {
 
49
  color: #527bbd;
 
50
  margin-top: 1.2em;
 
51
  margin-bottom: 0.5em;
 
52
  line-height: 1.3;
 
53
}
 
54
 
 
55
h1, h2, h3 {
 
56
  border-bottom: 2px solid silver;
 
57
}
 
58
h2 {
 
59
  padding-top: 0.5em;
 
60
}
 
61
h3 {
 
62
  float: left;
 
63
}
 
64
h3 + * {
 
65
  clear: left;
 
66
}
 
67
h5 {
 
68
  font-size: 1.0em;
 
69
}
 
70
 
 
71
div.sectionbody {
 
72
  margin-left: 0;
 
73
}
 
74
 
 
75
hr {
 
76
  border: 1px solid silver;
 
77
}
 
78
 
 
79
p {
 
80
  margin-top: 0.5em;
 
81
  margin-bottom: 0.5em;
 
82
}
 
83
 
 
84
ul, ol, li > p {
 
85
  margin-top: 0;
 
86
}
 
87
ul > li     { color: #aaa; }
 
88
ul > li > * { color: black; }
 
89
 
 
90
pre {
 
91
  padding: 0;
 
92
  margin: 0;
 
93
}
 
94
 
 
95
#author {
 
96
  color: #527bbd;
 
97
  font-weight: bold;
 
98
  font-size: 1.1em;
 
99
}
 
100
#email {
 
101
}
 
102
#revnumber, #revdate, #revremark {
 
103
}
 
104
 
 
105
#footer {
 
106
  font-size: small;
 
107
  border-top: 2px solid silver;
 
108
  padding-top: 0.5em;
 
109
  margin-top: 4.0em;
 
110
}
 
111
#footer-text {
 
112
  float: left;
 
113
  padding-bottom: 0.5em;
 
114
}
 
115
#footer-badges {
 
116
  float: right;
 
117
  padding-bottom: 0.5em;
 
118
}
 
119
 
 
120
#preamble {
 
121
  margin-top: 1.5em;
 
122
  margin-bottom: 1.5em;
 
123
}
 
124
div.imageblock, div.exampleblock, div.verseblock,
 
125
div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
 
126
div.admonitionblock {
 
127
  margin-top: 1.0em;
 
128
  margin-bottom: 1.5em;
 
129
}
 
130
div.admonitionblock {
 
131
  margin-top: 2.0em;
 
132
  margin-bottom: 2.0em;
 
133
  margin-right: 10%;
 
134
  color: #606060;
 
135
}
 
136
 
 
137
div.content { /* Block element content. */
 
138
  padding: 0;
 
139
}
 
140
 
 
141
/* Block element titles. */
 
142
div.title, caption.title {
 
143
  color: #527bbd;
 
144
  font-weight: bold;
 
145
  text-align: left;
 
146
  margin-top: 1.0em;
 
147
  margin-bottom: 0.5em;
 
148
}
 
149
div.title + * {
 
150
  margin-top: 0;
 
151
}
 
152
 
 
153
td div.title:first-child {
 
154
  margin-top: 0.0em;
 
155
}
 
156
div.content div.title:first-child {
 
157
  margin-top: 0.0em;
 
158
}
 
159
div.content + div.title {
 
160
  margin-top: 0.0em;
 
161
}
 
162
 
 
163
div.sidebarblock > div.content {
 
164
  background: #ffffee;
 
165
  border: 1px solid #dddddd;
 
166
  border-left: 4px solid #f0f0f0;
 
167
  padding: 0.5em;
 
168
}
 
169
 
 
170
div.listingblock > div.content {
 
171
  border: 1px solid #dddddd;
 
172
  border-left: 5px solid #f0f0f0;
 
173
  background: #f8f8f8;
 
174
  padding: 0.5em;
 
175
}
 
176
 
 
177
div.quoteblock, div.verseblock {
 
178
  padding-left: 1.0em;
 
179
  margin-left: 1.0em;
 
180
  margin-right: 10%;
 
181
  border-left: 5px solid #f0f0f0;
 
182
  color: #888;
 
183
}
 
184
 
 
185
div.quoteblock > div.attribution {
 
186
  padding-top: 0.5em;
 
187
  text-align: right;
 
188
}
 
189
 
 
190
div.verseblock > pre.content {
 
191
  font-family: inherit;
 
192
  font-size: inherit;
 
193
}
 
194
div.verseblock > div.attribution {
 
195
  padding-top: 0.75em;
 
196
  text-align: left;
 
197
}
 
198
/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
 
199
div.verseblock + div.attribution {
 
200
  text-align: left;
 
201
}
 
202
 
 
203
div.admonitionblock .icon {
 
204
  vertical-align: top;
 
205
  font-size: 1.1em;
 
206
  font-weight: bold;
 
207
  text-decoration: underline;
 
208
  color: #527bbd;
 
209
  padding-right: 0.5em;
 
210
}
 
211
div.admonitionblock td.content {
 
212
  padding-left: 0.5em;
 
213
  border-left: 3px solid #dddddd;
 
214
}
 
215
 
 
216
div.exampleblock > div.content {
 
217
  border-left: 3px solid #dddddd;
 
218
  padding-left: 0.5em;
 
219
}
 
220
 
 
221
div.imageblock div.content { padding-left: 0; }
 
222
span.image img { border-style: none; }
 
223
a.image:visited { color: white; }
 
224
 
 
225
dl {
 
226
  margin-top: 0.8em;
 
227
  margin-bottom: 0.8em;
 
228
}
 
229
dt {
 
230
  margin-top: 0.5em;
 
231
  margin-bottom: 0;
 
232
  font-style: normal;
 
233
  color: navy;
 
234
}
 
235
dd > *:first-child {
 
236
  margin-top: 0.1em;
 
237
}
 
238
 
 
239
ul, ol {
 
240
    list-style-position: outside;
 
241
}
 
242
ol.arabic {
 
243
  list-style-type: decimal;
 
244
}
 
245
ol.loweralpha {
 
246
  list-style-type: lower-alpha;
 
247
}
 
248
ol.upperalpha {
 
249
  list-style-type: upper-alpha;
 
250
}
 
251
ol.lowerroman {
 
252
  list-style-type: lower-roman;
 
253
}
 
254
ol.upperroman {
 
255
  list-style-type: upper-roman;
 
256
}
 
257
 
 
258
div.compact ul, div.compact ol,
 
259
div.compact p, div.compact p,
 
260
div.compact div, div.compact div {
 
261
  margin-top: 0.1em;
 
262
  margin-bottom: 0.1em;
 
263
}
 
264
 
 
265
tfoot {
 
266
  font-weight: bold;
 
267
}
 
268
td > div.verse {
 
269
  white-space: pre;
 
270
}
 
271
 
 
272
div.hdlist {
 
273
  margin-top: 0.8em;
 
274
  margin-bottom: 0.8em;
 
275
}
 
276
div.hdlist tr {
 
277
  padding-bottom: 15px;
 
278
}
 
279
dt.hdlist1.strong, td.hdlist1.strong {
 
280
  font-weight: bold;
 
281
}
 
282
td.hdlist1 {
 
283
  vertical-align: top;
 
284
  font-style: normal;
 
285
  padding-right: 0.8em;
 
286
  color: navy;
 
287
}
 
288
td.hdlist2 {
 
289
  vertical-align: top;
 
290
}
 
291
div.hdlist.compact tr {
 
292
  margin: 0;
 
293
  padding-bottom: 0;
 
294
}
 
295
 
 
296
.comment {
 
297
  background: yellow;
 
298
}
 
299
 
 
300
.footnote, .footnoteref {
 
301
  font-size: 0.8em;
 
302
}
 
303
 
 
304
span.footnote, span.footnoteref {
 
305
  vertical-align: super;
 
306
}
 
307
 
 
308
#footnotes {
 
309
  margin: 20px 0 20px 0;
 
310
  padding: 7px 0 0 0;
 
311
}
 
312
 
 
313
#footnotes div.footnote {
 
314
  margin: 0 0 5px 0;
 
315
}
 
316
 
 
317
#footnotes hr {
 
318
  border: none;
 
319
  border-top: 1px solid silver;
 
320
  height: 1px;
 
321
  text-align: left;
 
322
  margin-left: 0;
 
323
  width: 20%;
 
324
  min-width: 100px;
 
325
}
 
326
 
 
327
div.colist td {
 
328
  padding-right: 0.5em;
 
329
  padding-bottom: 0.3em;
 
330
  vertical-align: top;
 
331
}
 
332
div.colist td img {
 
333
  margin-top: 0.3em;
 
334
}
 
335
 
 
336
@media print {
 
337
  #footer-badges { display: none; }
 
338
}
 
339
 
 
340
#toc {
 
341
  margin-bottom: 2.5em;
 
342
}
 
343
 
 
344
#toctitle {
 
345
  color: #527bbd;
 
346
  font-size: 1.1em;
 
347
  font-weight: bold;
 
348
  margin-top: 1.0em;
 
349
  margin-bottom: 0.1em;
 
350
}
 
351
 
 
352
div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
 
353
  margin-top: 0;
 
354
  margin-bottom: 0;
 
355
}
 
356
div.toclevel2 {
 
357
  margin-left: 2em;
 
358
  font-size: 0.9em;
 
359
}
 
360
div.toclevel3 {
 
361
  margin-left: 4em;
 
362
  font-size: 0.9em;
 
363
}
 
364
div.toclevel4 {
 
365
  margin-left: 6em;
 
366
  font-size: 0.9em;
 
367
}
 
368
 
 
369
span.aqua { color: aqua; }
 
370
span.black { color: black; }
 
371
span.blue { color: blue; }
 
372
span.fuchsia { color: fuchsia; }
 
373
span.gray { color: gray; }
 
374
span.green { color: green; }
 
375
span.lime { color: lime; }
 
376
span.maroon { color: maroon; }
 
377
span.navy { color: navy; }
 
378
span.olive { color: olive; }
 
379
span.purple { color: purple; }
 
380
span.red { color: red; }
 
381
span.silver { color: silver; }
 
382
span.teal { color: teal; }
 
383
span.white { color: white; }
 
384
span.yellow { color: yellow; }
 
385
 
 
386
span.aqua-background { background: aqua; }
 
387
span.black-background { background: black; }
 
388
span.blue-background { background: blue; }
 
389
span.fuchsia-background { background: fuchsia; }
 
390
span.gray-background { background: gray; }
 
391
span.green-background { background: green; }
 
392
span.lime-background { background: lime; }
 
393
span.maroon-background { background: maroon; }
 
394
span.navy-background { background: navy; }
 
395
span.olive-background { background: olive; }
 
396
span.purple-background { background: purple; }
 
397
span.red-background { background: red; }
 
398
span.silver-background { background: silver; }
 
399
span.teal-background { background: teal; }
 
400
span.white-background { background: white; }
 
401
span.yellow-background { background: yellow; }
 
402
 
 
403
span.big { font-size: 2em; }
 
404
span.small { font-size: 0.6em; }
 
405
 
 
406
span.underline { text-decoration: underline; }
 
407
span.overline { text-decoration: overline; }
 
408
span.line-through { text-decoration: line-through; }
 
409
 
 
410
 
 
411
/*
 
412
 * xhtml11 specific
 
413
 *
 
414
 * */
 
415
 
 
416
tt {
 
417
  font-family: monospace;
 
418
  font-size: inherit;
 
419
  color: navy;
 
420
}
 
421
 
 
422
div.tableblock {
 
423
  margin-top: 1.0em;
 
424
  margin-bottom: 1.5em;
 
425
}
 
426
div.tableblock > table {
 
427
  border: 3px solid #527bbd;
 
428
}
 
429
thead, p.table.header {
 
430
  font-weight: bold;
 
431
  color: #527bbd;
 
432
}
 
433
p.table {
 
434
  margin-top: 0;
 
435
}
 
436
/* Because the table frame attribute is overriden by CSS in most browsers. */
 
437
div.tableblock > table[frame="void"] {
 
438
  border-style: none;
 
439
}
 
440
div.tableblock > table[frame="hsides"] {
 
441
  border-left-style: none;
 
442
  border-right-style: none;
 
443
}
 
444
div.tableblock > table[frame="vsides"] {
 
445
  border-top-style: none;
 
446
  border-bottom-style: none;
 
447
}
 
448
 
 
449
 
 
450
/*
 
451
 * html5 specific
 
452
 *
 
453
 * */
 
454
 
 
455
.monospaced {
 
456
  font-family: monospace;
 
457
  font-size: inherit;
 
458
  color: navy;
 
459
}
 
460
 
 
461
table.tableblock {
 
462
  margin-top: 1.0em;
 
463
  margin-bottom: 1.5em;
 
464
}
 
465
thead, p.tableblock.header {
 
466
  font-weight: bold;
 
467
  color: #527bbd;
 
468
}
 
469
p.tableblock {
 
470
  margin-top: 0;
 
471
}
 
472
table.tableblock {
 
473
  border-width: 3px;
 
474
  border-spacing: 0px;
 
475
  border-style: solid;
 
476
  border-color: #527bbd;
 
477
  border-collapse: collapse;
 
478
}
 
479
th.tableblock, td.tableblock {
 
480
  border-width: 1px;
 
481
  padding: 4px;
 
482
  border-style: solid;
 
483
  border-color: #527bbd;
 
484
}
 
485
 
 
486
table.tableblock.frame-topbot {
 
487
  border-left-style: hidden;
 
488
  border-right-style: hidden;
 
489
}
 
490
table.tableblock.frame-sides {
 
491
  border-top-style: hidden;
 
492
  border-bottom-style: hidden;
 
493
}
 
494
table.tableblock.frame-none {
 
495
  border-style: hidden;
 
496
}
 
497
 
 
498
th.tableblock.halign-left, td.tableblock.halign-left {
 
499
  text-align: left;
 
500
}
 
501
th.tableblock.halign-center, td.tableblock.halign-center {
 
502
  text-align: center;
 
503
}
 
504
th.tableblock.halign-right, td.tableblock.halign-right {
 
505
  text-align: right;
 
506
}
 
507
 
 
508
th.tableblock.valign-top, td.tableblock.valign-top {
 
509
  vertical-align: top;
 
510
}
 
511
th.tableblock.valign-middle, td.tableblock.valign-middle {
 
512
  vertical-align: middle;
 
513
}
 
514
th.tableblock.valign-bottom, td.tableblock.valign-bottom {
 
515
  vertical-align: bottom;
 
516
}
 
517
 
 
518
 
 
519
/*
 
520
 * manpage specific
 
521
 *
 
522
 * */
 
523
 
 
524
body.manpage h1 {
 
525
  padding-top: 0.5em;
 
526
  padding-bottom: 0.5em;
 
527
  border-top: 2px solid silver;
 
528
  border-bottom: 2px solid silver;
 
529
}
 
530
body.manpage h2 {
 
531
  border-style: none;
 
532
}
 
533
body.manpage div.sectionbody {
 
534
  margin-left: 3em;
 
535
}
 
536
 
 
537
@media print {
 
538
  body.manpage div#toc { display: none; }
 
539
}
 
540
</style>
 
541
<script type="text/javascript">
 
542
/*<![CDATA[*/
 
543
var asciidoc = {  // Namespace.
 
544
 
 
545
/////////////////////////////////////////////////////////////////////
 
546
// Table Of Contents generator
 
547
/////////////////////////////////////////////////////////////////////
 
548
 
 
549
/* Author: Mihai Bazon, September 2002
 
550
 * http://students.infoiasi.ro/~mishoo
 
551
 *
 
552
 * Table Of Content generator
 
553
 * Version: 0.4
 
554
 *
 
555
 * Feel free to use this script under the terms of the GNU General Public
 
556
 * License, as long as you do not remove or alter this notice.
 
557
 */
 
558
 
 
559
 /* modified by Troy D. Hanson, September 2006. License: GPL */
 
560
 /* modified by Stuart Rackham, 2006, 2009. License: GPL */
 
561
 
 
562
// toclevels = 1..4.
 
563
toc: function (toclevels) {
 
564
 
 
565
  function getText(el) {
 
566
    var text = "";
 
567
    for (var i = el.firstChild; i != null; i = i.nextSibling) {
 
568
      if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
 
569
        text += i.data;
 
570
      else if (i.firstChild != null)
 
571
        text += getText(i);
 
572
    }
 
573
    return text;
 
574
  }
 
575
 
 
576
  function TocEntry(el, text, toclevel) {
 
577
    this.element = el;
 
578
    this.text = text;
 
579
    this.toclevel = toclevel;
 
580
  }
 
581
 
 
582
  function tocEntries(el, toclevels) {
 
583
    var result = new Array;
 
584
    var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
 
585
    // Function that scans the DOM tree for header elements (the DOM2
 
586
    // nodeIterator API would be a better technique but not supported by all
 
587
    // browsers).
 
588
    var iterate = function (el) {
 
589
      for (var i = el.firstChild; i != null; i = i.nextSibling) {
 
590
        if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
 
591
          var mo = re.exec(i.tagName);
 
592
          if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {
 
593
            result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
 
594
          }
 
595
          iterate(i);
 
596
        }
 
597
      }
 
598
    }
 
599
    iterate(el);
 
600
    return result;
 
601
  }
 
602
 
 
603
  var toc = document.getElementById("toc");
 
604
  if (!toc) {
 
605
    return;
 
606
  }
 
607
 
 
608
  // Delete existing TOC entries in case we're reloading the TOC.
 
609
  var tocEntriesToRemove = [];
 
610
  var i;
 
611
  for (i = 0; i < toc.childNodes.length; i++) {
 
612
    var entry = toc.childNodes[i];
 
613
    if (entry.nodeName == 'div'
 
614
     && entry.getAttribute("class")
 
615
     && entry.getAttribute("class").match(/^toclevel/))
 
616
      tocEntriesToRemove.push(entry);
 
617
  }
 
618
  for (i = 0; i < tocEntriesToRemove.length; i++) {
 
619
    toc.removeChild(tocEntriesToRemove[i]);
 
620
  }
 
621
 
 
622
  // Rebuild TOC entries.
 
623
  var entries = tocEntries(document.getElementById("content"), toclevels);
 
624
  for (var i = 0; i < entries.length; ++i) {
 
625
    var entry = entries[i];
 
626
    if (entry.element.id == "")
 
627
      entry.element.id = "_toc_" + i;
 
628
    var a = document.createElement("a");
 
629
    a.href = "#" + entry.element.id;
 
630
    a.appendChild(document.createTextNode(entry.text));
 
631
    var div = document.createElement("div");
 
632
    div.appendChild(a);
 
633
    div.className = "toclevel" + entry.toclevel;
 
634
    toc.appendChild(div);
 
635
  }
 
636
  if (entries.length == 0)
 
637
    toc.parentNode.removeChild(toc);
 
638
},
 
639
 
 
640
 
 
641
/////////////////////////////////////////////////////////////////////
 
642
// Footnotes generator
 
643
/////////////////////////////////////////////////////////////////////
 
644
 
 
645
/* Based on footnote generation code from:
 
646
 * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
 
647
 */
 
648
 
 
649
footnotes: function () {
 
650
  // Delete existing footnote entries in case we're reloading the footnodes.
 
651
  var i;
 
652
  var noteholder = document.getElementById("footnotes");
 
653
  if (!noteholder) {
 
654
    return;
 
655
  }
 
656
  var entriesToRemove = [];
 
657
  for (i = 0; i < noteholder.childNodes.length; i++) {
 
658
    var entry = noteholder.childNodes[i];
 
659
    if (entry.nodeName == 'div' && entry.getAttribute("class") == "footnote")
 
660
      entriesToRemove.push(entry);
 
661
  }
 
662
  for (i = 0; i < entriesToRemove.length; i++) {
 
663
    noteholder.removeChild(entriesToRemove[i]);
 
664
  }
 
665
 
 
666
  // Rebuild footnote entries.
 
667
  var cont = document.getElementById("content");
 
668
  var spans = cont.getElementsByTagName("span");
 
669
  var refs = {};
 
670
  var n = 0;
 
671
  for (i=0; i<spans.length; i++) {
 
672
    if (spans[i].className == "footnote") {
 
673
      n++;
 
674
      var note = spans[i].getAttribute("data-note");
 
675
      if (!note) {
 
676
        // Use [\s\S] in place of . so multi-line matches work.
 
677
        // Because JavaScript has no s (dotall) regex flag.
 
678
        note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];
 
679
        spans[i].innerHTML =
 
680
          "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +
 
681
          "' title='View footnote' class='footnote'>" + n + "</a>]";
 
682
        spans[i].setAttribute("data-note", note);
 
683
      }
 
684
      noteholder.innerHTML +=
 
685
        "<div class='footnote' id='_footnote_" + n + "'>" +
 
686
        "<a href='#_footnoteref_" + n + "' title='Return to text'>" +
 
687
        n + "</a>. " + note + "</div>";
 
688
      var id =spans[i].getAttribute("id");
 
689
      if (id != null) refs["#"+id] = n;
 
690
    }
 
691
  }
 
692
  if (n == 0)
 
693
    noteholder.parentNode.removeChild(noteholder);
 
694
  else {
 
695
    // Process footnoterefs.
 
696
    for (i=0; i<spans.length; i++) {
 
697
      if (spans[i].className == "footnoteref") {
 
698
        var href = spans[i].getElementsByTagName("a")[0].getAttribute("href");
 
699
        href = href.match(/#.*/)[0];  // Because IE return full URL.
 
700
        n = refs[href];
 
701
        spans[i].innerHTML =
 
702
          "[<a href='#_footnote_" + n +
 
703
          "' title='View footnote' class='footnote'>" + n + "</a>]";
 
704
      }
 
705
    }
 
706
  }
 
707
},
 
708
 
 
709
install: function(toclevels) {
 
710
  var timerId;
 
711
 
 
712
  function reinstall() {
 
713
    asciidoc.footnotes();
 
714
    if (toclevels) {
 
715
      asciidoc.toc(toclevels);
 
716
    }
 
717
  }
 
718
 
 
719
  function reinstallAndRemoveTimer() {
 
720
    clearInterval(timerId);
 
721
    reinstall();
 
722
  }
 
723
 
 
724
  timerId = setInterval(reinstall, 500);
 
725
  if (document.addEventListener)
 
726
    document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);
 
727
  else
 
728
    window.onload = reinstallAndRemoveTimer;
 
729
}
 
730
 
 
731
}
 
732
asciidoc.install();
 
733
/*]]>*/
 
734
</script>
 
735
</head>
 
736
<body class="manpage">
 
737
<div id="header">
 
738
<h1>
 
739
zmq_plain(7) Manual Page
 
740
</h1>
 
741
<h2>NAME</h2>
 
742
<div class="sectionbody">
 
743
<p>zmq_plain -
 
744
   clear-text authentication
 
745
</p>
 
746
</div>
 
747
</div>
 
748
<div id="content">
 
749
<div class="sect1">
 
750
<h2 id="_synopsis">SYNOPSIS</h2>
 
751
<div class="sectionbody">
 
752
<div class="paragraph"><p>The PLAIN mechanism defines a simple username/password mechanism that
 
753
lets a server authenticate a client. PLAIN makes no attempt at security
 
754
or confidentiality. It is intended for use on internal networks where
 
755
security requirements are low. The PLAIN mechanism is defined by this
 
756
document: <a href="http://rfc.zeromq.org/spec:24">http://rfc.zeromq.org/spec:24</a>.</p></div>
 
757
</div>
 
758
</div>
 
759
<div class="sect1">
 
760
<h2 id="_usage">USAGE</h2>
 
761
<div class="sectionbody">
 
762
<div class="paragraph"><p>To use PLAIN, the server shall set the ZMQ_PLAIN_SERVER option, and the
 
763
client shall set the ZMQ_PLAIN_USERNAME and ZMQ_PLAIN_PASSWORD socket
 
764
options. Which peer binds, and which connects, is not relevant.</p></div>
 
765
</div>
 
766
</div>
 
767
<div class="sect1">
 
768
<h2 id="_see_also">SEE ALSO</h2>
 
769
<div class="sectionbody">
 
770
<div class="paragraph"><p><a href="zmq_setsockopt.html">zmq_setsockopt(3)</a>
 
771
<a href="zmq_null.html">zmq_null(7)</a>
 
772
<a href="zmq_curve.html">zmq_curve(7)</a>
 
773
<a href="zmq.html">zmq(7)</a></p></div>
 
774
</div>
 
775
</div>
 
776
<div class="sect1">
 
777
<h2 id="_authors">AUTHORS</h2>
 
778
<div class="sectionbody">
 
779
<div class="paragraph"><p>This page was written by the ØMQ community. To make a change please
 
780
read the ØMQ Contribution Policy at <a href="http://www.zeromq.org/docs:contributing">http://www.zeromq.org/docs:contributing</a>.</p></div>
 
781
</div>
 
782
</div>
 
783
</div>
 
784
<div id="footnotes"><hr /></div>
 
785
<div id="footer">
 
786
<div id="footer-text">
 
787
ØMQ 4.0.4<br />
 
788
Last updated 2013-11-13 18:57:50 CET
 
789
</div>
 
790
</div>
 
791
</body>
 
792
</html>