~ubuntu-branches/ubuntu/precise/zeromq/precise

« back to all changes in this revision

Viewing changes to doc/zmq_connect.html

  • Committer: Package Import Robot
  • Author(s): Martin Lucina
  • Date: 2011-09-08 16:38:46 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: package-import@ubuntu.com-20110908163846-wjo6zknbsxmwyokn
Tags: 2.1.9-1
New upstream version. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4
4
<head>
5
 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
 
<meta name="generator" content="AsciiDoc 8.5.2" />
 
5
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
 
6
<meta name="generator" content="AsciiDoc 8.6.3" />
7
7
<title>zmq_connect(3)</title>
8
8
<style type="text/css">
9
 
/* Debug borders */
10
 
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
11
 
/*
12
 
  border: 1px solid red;
13
 
*/
 
9
/* Sans-serif font. */
 
10
h1, h2, h3, h4, h5, h6,
 
11
div.title, caption.title,
 
12
thead, p.table.header,
 
13
div#toctitle,
 
14
span#author, span#revnumber, span#revdate, span#revremark,
 
15
div#footer {
 
16
  font-family: Arial,Helvetica,sans-serif;
 
17
}
 
18
 
 
19
/* Serif font. */
 
20
div.sectionbody {
 
21
  font-family: Georgia,"Times New Roman",Times,serif;
 
22
}
 
23
 
 
24
/* Monospace font. */
 
25
tt {
 
26
  font-size: inherit;
14
27
}
15
28
 
16
29
body {
36
49
}
37
50
 
38
51
tt {
 
52
  font-size: inherit;
39
53
  color: navy;
40
54
}
41
55
 
42
56
h1, h2, h3, h4, h5, h6 {
43
57
  color: #527bbd;
44
 
  font-family: sans-serif;
45
58
  margin-top: 1.2em;
46
59
  margin-bottom: 0.5em;
47
60
  line-height: 1.3;
61
74
}
62
75
 
63
76
div.sectionbody {
64
 
  font-family: serif;
65
77
  margin-left: 0;
66
78
}
67
79
 
77
89
ul, ol, li > p {
78
90
  margin-top: 0;
79
91
}
 
92
ul > li     { color: #aaa; }
 
93
ul > li > * { color: black; }
80
94
 
81
95
pre {
82
96
  padding: 0;
85
99
 
86
100
span#author {
87
101
  color: #527bbd;
88
 
  font-family: sans-serif;
89
102
  font-weight: bold;
90
103
  font-size: 1.1em;
91
104
}
92
105
span#email {
93
106
}
94
107
span#revnumber, span#revdate, span#revremark {
95
 
  font-family: sans-serif;
96
108
}
97
109
 
98
110
div#footer {
99
 
  font-family: sans-serif;
100
111
  font-size: small;
101
112
  border-top: 2px solid silver;
102
113
  padding-top: 0.5em;
135
146
/* Block element titles. */
136
147
div.title, caption.title {
137
148
  color: #527bbd;
138
 
  font-family: sans-serif;
139
149
  font-weight: bold;
140
150
  text-align: left;
141
151
  margin-top: 1.0em;
157
167
 
158
168
div.sidebarblock > div.content {
159
169
  background: #ffffee;
160
 
  border: 1px solid silver;
 
170
  border: 1px solid #dddddd;
 
171
  border-left: 4px solid #f0f0f0;
161
172
  padding: 0.5em;
162
173
}
163
174
 
164
175
div.listingblock > div.content {
165
 
  border: 1px solid silver;
166
 
  background: #f4f4f4;
 
176
  border: 1px solid #dddddd;
 
177
  border-left: 5px solid #f0f0f0;
 
178
  background: #f8f8f8;
167
179
  padding: 0.5em;
168
180
}
169
181
 
171
183
  padding-left: 1.0em;
172
184
  margin-left: 1.0em;
173
185
  margin-right: 10%;
174
 
  border-left: 5px solid #dddddd;
 
186
  border-left: 5px solid #f0f0f0;
175
187
  color: #777777;
176
188
}
177
189
 
180
192
  text-align: right;
181
193
}
182
194
 
183
 
div.verseblock > div.content {
184
 
  white-space: pre;
 
195
div.verseblock > pre.content {
 
196
  font-family: inherit;
 
197
  font-size: inherit;
185
198
}
186
199
div.verseblock > div.attribution {
187
200
  padding-top: 0.75em;
258
271
  border: 3px solid #527bbd;
259
272
}
260
273
thead, p.table.header {
261
 
  font-family: sans-serif;
262
274
  font-weight: bold;
 
275
  color: #527bbd;
263
276
}
264
277
tfoot {
265
278
  font-weight: bold;
339
352
  min-width: 100px;
340
353
}
341
354
 
 
355
div.colist td {
 
356
  padding-right: 0.5em;
 
357
  padding-bottom: 0.3em;
 
358
  vertical-align: top;
 
359
}
 
360
div.colist td img {
 
361
  margin-top: 0.3em;
 
362
}
342
363
 
343
364
@media print {
344
365
  div#footer-badges { display: none; }
350
371
 
351
372
div#toctitle {
352
373
  color: #527bbd;
353
 
  font-family: sans-serif;
354
374
  font-size: 1.1em;
355
375
  font-weight: bold;
356
376
  margin-top: 1.0em;
373
393
  margin-left: 6em;
374
394
  font-size: 0.9em;
375
395
}
 
396
 
376
397
/* Overrides for manpage documents */
377
398
h1 {
378
399
  padding-top: 0.5em;
391
412
  div#toc { display: none; }
392
413
}
393
414
 
394
 
/* Workarounds for IE6's broken and incomplete CSS2. */
395
 
 
396
 
div.sidebar-content {
397
 
  background: #ffffee;
398
 
  border: 1px solid silver;
399
 
  padding: 0.5em;
400
 
}
401
 
div.sidebar-title, div.image-title {
402
 
  color: #527bbd;
403
 
  font-family: sans-serif;
404
 
  font-weight: bold;
405
 
  margin-top: 0.0em;
406
 
  margin-bottom: 0.5em;
407
 
}
408
 
 
409
 
div.listingblock div.content {
410
 
  border: 1px solid silver;
411
 
  background: #f4f4f4;
412
 
  padding: 0.5em;
413
 
}
414
 
 
415
 
div.quoteblock-attribution {
416
 
  padding-top: 0.5em;
417
 
  text-align: right;
418
 
}
419
 
 
420
 
div.verseblock-content {
421
 
  white-space: pre;
422
 
}
423
 
div.verseblock-attribution {
424
 
  padding-top: 0.75em;
425
 
  text-align: left;
426
 
}
427
 
 
428
 
div.exampleblock-content {
429
 
  border-left: 3px solid #dddddd;
430
 
  padding-left: 0.5em;
431
 
}
432
 
 
433
 
/* IE6 sets dynamically generated links as visited. */
434
 
div#toc a:visited { color: blue; }
435
415
</style>
436
416
<script type="text/javascript">
437
417
/*<![CDATA[*/
567
547
/*]]>*/
568
548
</script>
569
549
</head>
570
 
<body>
 
550
<body class="manpage">
571
551
<div id="header">
572
552
<h1>
573
553
zmq_connect(3) Manual Page
580
560
</div>
581
561
</div>
582
562
<div id="content">
 
563
<div class="sect1">
583
564
<h2 id="_synopsis">SYNOPSIS</h2>
584
565
<div class="sectionbody">
585
566
<div class="paragraph"><p><strong>int zmq_connect (void <em>*socket</em>, const char <em>*endpoint</em>);</strong></p></div>
586
567
</div>
 
568
</div>
 
569
<div class="sect1">
587
570
<h2 id="_description">DESCRIPTION</h2>
588
571
<div class="sectionbody">
589
572
<div class="paragraph"><p>The <em>zmq_connect()</em> function shall connect the socket referenced by the
643
626
</tr></table>
644
627
</div>
645
628
</div>
 
629
</div>
 
630
<div class="sect1">
646
631
<h2 id="_return_value">RETURN VALUE</h2>
647
632
<div class="sectionbody">
648
633
<div class="paragraph"><p>The <em>zmq_connect()</em> function shall return zero if successful. Otherwise it
649
634
shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined below.</p></div>
650
635
</div>
 
636
</div>
 
637
<div class="sect1">
651
638
<h2 id="_errors">ERRORS</h2>
652
639
<div class="sectionbody">
653
640
<div class="dlist"><dl>
654
641
<dt class="hdlist1">
 
642
<strong>EINVAL</strong>
 
643
</dt>
 
644
<dd>
 
645
<p>
 
646
The endpoint supplied is invalid.
 
647
</p>
 
648
</dd>
 
649
<dt class="hdlist1">
655
650
<strong>EPROTONOSUPPORT</strong>
656
651
</dt>
657
652
<dd>
693
688
</dd>
694
689
</dl></div>
695
690
</div>
 
691
</div>
 
692
<div class="sect1">
696
693
<h2 id="_example">EXAMPLE</h2>
697
694
<div class="sectionbody">
698
695
<div class="listingblock">
709
706
assert (rc == 0);</tt></pre>
710
707
</div></div>
711
708
</div>
 
709
</div>
 
710
<div class="sect1">
712
711
<h2 id="_see_also">SEE ALSO</h2>
713
712
<div class="sectionbody">
714
713
<div class="paragraph"><p><a href="zmq_bind.html">zmq_bind(3)</a>
715
714
<a href="zmq_socket.html">zmq_socket(3)</a>
716
715
<a href="zmq.html">zmq(7)</a></p></div>
717
716
</div>
 
717
</div>
 
718
<div class="sect1">
718
719
<h2 id="_authors">AUTHORS</h2>
719
720
<div class="sectionbody">
720
721
<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
721
722
Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p></div>
722
723
</div>
723
724
</div>
 
725
</div>
724
726
<div id="footnotes"><hr /></div>
725
727
<div id="footer">
726
728
<div id="footer-text">
727
 
ØMQ 2.1.6<br />
728
 
Last updated 2011-05-07 07:13:32 CEST
 
729
ØMQ 2.1.9<br />
 
730
Last updated 2011-07-30 17:22:16 CEST
729
731
</div>
730
732
</div>
731
733
</body>