reference/sockets/functions/socket-listen.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-listen">
3
+
<refentry xml:id="function.socket-listen" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>socket_listen</refname>
6
6
<refpurpose>Listens for a connection on a socket</refpurpose>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>socket_listen</methodname>
13
-
<methodparam><type>resource</type><parameter>socket</parameter></methodparam>
13
+
<methodparam><type>Socket</type><parameter>socket</parameter></methodparam>
14
14
<methodparam choice="opt"><type>int</type><parameter>backlog</parameter><initializer>0</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
...
...
@@ -34,7 +34,7 @@
34
34
<term><parameter>socket</parameter></term>
35
35
<listitem>
36
36
<para>
37
-
A valid socket resource created with <function>socket_create</function>
37
+
A <classname>Socket</classname> instance created with <function>socket_create</function>
38
38
or <function>socket_addrinfo_bind</function>
39
39
</para>
40
40
</listitem>
...
...
@@ -76,6 +76,23 @@
76
76
</para>
77
77
</refsect1>
78
78

79
+
<refsect1 role="changelog">
80
+
&reftitle.changelog;
81
+
<informaltable>
82
+
<tgroup cols="2">
83
+
<thead>
84
+
<row>
85
+
<entry>&Version;</entry>
86
+
<entry>&Description;</entry>
87
+
</row>
88
+
</thead>
89
+
<tbody>
90
+
&sockets.changelog.socket-param;
91
+
</tbody>
92
+
</tgroup>
93
+
</informaltable>
94
+
</refsect1>
95
+

79
96
<refsect1 role="seealso">
80
97
&reftitle.seealso;
81
98
<para>
...
...
@@ -91,7 +108,6 @@
91
108
</refsect1>
92
109

93
110
</refentry>
94
-

95
111
<!-- Keep this comment at the end of the file
96
112
Local variables:
97
113
mode: sgml
98
114