reference/zmq/zmqsocket/connect.xml
d530899344cd881b6d09ff188e24252651c2f394
...
...
@@ -12,7 +12,7 @@
12
12
<methodsynopsis>
13
13
<modifier>public</modifier> <type>ZMQSocket</type><methodname>ZMQSocket::connect</methodname>
14
14
<methodparam><type>string</type><parameter>dsn</parameter></methodparam>
15
-
<methodparam choice="opt"><type>boolean</type><parameter>force</parameter><initializer>false</initializer></methodparam>
15
+
<methodparam choice="opt"><type>bool</type><parameter>force</parameter><initializer>&false;</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Connect the socket to a remote endpoint. The endpoint is defined in format <literal>transport://address</literal> where
...
...
@@ -44,6 +44,20 @@
44
44
</para>
45
45
</refsect1>
46
46

47
+
<refsect1 role="returnvalues">
48
+
&reftitle.returnvalues;
49
+
<para>
50
+
Returns the current object.
51
+
</para>
52
+
</refsect1>
53
+

54
+
<refsect1 role="errors">
55
+
&reftitle.errors;
56
+
<para>
57
+
Throws <classname>ZMQSocketException</classname> on error.
58
+
</para>
59
+
</refsect1>
60
+

47
61
<refsect1 role="examples">
48
62
&reftitle.examples;
49
63
<para>
...
...
@@ -84,14 +98,6 @@ echo "<p>Server said: {$message}</p>";
84
98
</para>
85
99
</refsect1>
86
100

87
-
<refsect1 role="returnvalues">
88
-
&reftitle.returnvalues;
89
-
<para>
90
-
Returns the current object. Throws ZMQSocketException on error.
91
-
</para>
92
-
</refsect1>
93
-

94
-

95
101
</refentry>
96
102

97
103
<!-- Keep this comment at the end of the file
98
104