reference/sockets/functions/socket-set-block.xml
14dc7c47365f2b71f6c907a5ba5bccf42534d5a9
...
...
@@ -1,16 +1,16 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.socket-set-block">
3
+
<refentry xml:id="function.socket-set-block" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>socket_set_block</refname>
6
-
<refpurpose>Sets blocking mode on a socket resource</refpurpose>
6
+
<refpurpose>Sets blocking mode on a socket</refpurpose>
7
7
</refnamediv>
8
8
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>socket_set_block</methodname>
13
-
<methodparam><type>resource</type><parameter>socket</parameter></methodparam>
13
+
<methodparam><type>Socket</type><parameter>socket</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
The <function>socket_set_block</function> function removes the
...
...
@@ -32,7 +32,7 @@
32
32
<term><parameter>socket</parameter></term>
33
33
<listitem>
34
34
<para>
35
-
A valid socket resource created with <function>socket_create</function>
35
+
A <classname>Socket</classname> instance created with <function>socket_create</function>
36
36
or <function>socket_accept</function>.
37
37
</para>
38
38
</listitem>
...
...
@@ -48,6 +48,23 @@
48
48
</para>
49
49
</refsect1>
50
50

51
+
<refsect1 role="changelog">
52
+
&reftitle.changelog;
53
+
<informaltable>
54
+
<tgroup cols="2">
55
+
<thead>
56
+
<row>
57
+
<entry>&Version;</entry>
58
+
<entry>&Description;</entry>
59
+
</row>
60
+
</thead>
61
+
<tbody>
62
+
&sockets.changelog.socket-param;
63
+
</tbody>
64
+
</tgroup>
65
+
</informaltable>
66
+
</refsect1>
67
+

51
68
<refsect1 role="examples">
52
69
&reftitle.examples;
53
70
<para>
...
...
@@ -84,7 +101,6 @@ socket_accept($socket);
84
101
</refsect1>
85
102

86
103
</refentry>
87
-

88
104
<!-- Keep this comment at the end of the file
89
105
Local variables:
90
106
mode: sgml
91
107