reference/sockets/functions/socket-set-nonblock.xml
14dc7c47365f2b71f6c907a5ba5bccf42534d5a9
...
...
@@ -1,6 +1,6 @@
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-nonblock">
3
+
<refentry xml:id="function.socket-set-nonblock" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>socket_set_nonblock</refname>
6
6
<refpurpose>Sets nonblocking mode for file descriptor fd </refpurpose>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>socket_set_nonblock</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_nonblock</function> function sets the
...
...
@@ -33,7 +33,7 @@
33
33
<term><parameter>socket</parameter></term>
34
34
<listitem>
35
35
<para>
36
-
A valid socket resource created with <function>socket_create</function>
36
+
A <classname>Socket</classname> instance created with <function>socket_create</function>
37
37
or <function>socket_accept</function>.
38
38
</para>
39
39
</listitem>
...
...
@@ -49,6 +49,23 @@
49
49
</para>
50
50
</refsect1>
51
51

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

52
69
<refsect1 role="examples">
53
70
&reftitle.examples;
54
71
<para>
...
...
@@ -86,7 +103,6 @@ socket_accept($socket);
86
103
</refsect1>
87
104

88
105
</refentry>
89
-

90
106
<!-- Keep this comment at the end of the file
91
107
Local variables:
92
108
mode: sgml
93
109