nicobn Tue Jul 3 19:53:55 2007 UTC
Modified files:
/phpdoc/en/reference/sockets/functions socket-get-option.xml
socket-getpeername.xml
socket-getsockname.xml
socket-last-error.xml
socket-listen.xml
Log:
Documented the functions' socket parameter and corrected an error from
previous commit.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/functions/socket-get-option.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/sockets/functions/socket-get-option.xml
diff -u phpdoc/en/reference/sockets/functions/socket-get-option.xml:1.11
phpdoc/en/reference/sockets/functions/socket-get-option.xml:1.12
--- phpdoc/en/reference/sockets/functions/socket-get-option.xml:1.11 Tue Jul
3 19:43:55 2007
+++ phpdoc/en/reference/sockets/functions/socket-get-option.xml Tue Jul 3
19:53:55 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.socket-get-option">
<refnamediv>
<refname>socket_get_option</refname>
@@ -29,7 +29,8 @@
<term><parameter>socket</parameter></term>
<listitem>
<para>
- A valid socket resource created with <function>socket_create</function>.
+ A valid socket resource created with <function>socket_create</function>
+ or <function>socket_accept</function>.
</para>
</listitem>
</varlistentry>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/functions/socket-getpeername.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc/en/reference/sockets/functions/socket-getpeername.xml
diff -u phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.13
phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.14
--- phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.13 Wed Jun
20 22:25:25 2007
+++ phpdoc/en/reference/sockets/functions/socket-getpeername.xml Tue Jul
3 19:53:55 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.socket-getpeername">
<refnamediv>
<refname>socket_getpeername</refname>
@@ -28,6 +28,8 @@
<term><parameter>socket</parameter></term>
<listitem>
<para>
+ A valid socket resource created with <function>socket_create</function>
+ or <function>socket_accept</function>.
</para>
</listitem>
</varlistentry>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/functions/socket-getsockname.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/sockets/functions/socket-getsockname.xml
diff -u phpdoc/en/reference/sockets/functions/socket-getsockname.xml:1.11
phpdoc/en/reference/sockets/functions/socket-getsockname.xml:1.12
--- phpdoc/en/reference/sockets/functions/socket-getsockname.xml:1.11 Wed Jun
20 22:25:25 2007
+++ phpdoc/en/reference/sockets/functions/socket-getsockname.xml Tue Jul
3 19:53:55 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.socket-getsockname">
<refnamediv>
<refname>socket_getsockname</refname>
@@ -33,6 +33,8 @@
<term><parameter>socket</parameter></term>
<listitem>
<para>
+ A valid socket resource created with <function>socket_create</function>
+ or <function>socket_accept</function>.
</para>
</listitem>
</varlistentry>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/functions/socket-last-error.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/sockets/functions/socket-last-error.xml
diff -u phpdoc/en/reference/sockets/functions/socket-last-error.xml:1.10
phpdoc/en/reference/sockets/functions/socket-last-error.xml:1.11
--- phpdoc/en/reference/sockets/functions/socket-last-error.xml:1.10 Wed Jun
20 22:25:25 2007
+++ phpdoc/en/reference/sockets/functions/socket-last-error.xml Tue Jul 3
19:53:55 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.socket-last-error">
<refnamediv>
<refname>socket_last_error</refname>
@@ -43,6 +43,7 @@
<term><parameter>socket</parameter></term>
<listitem>
<para>
+ A valid socket resource created with <function>socket_create</function>.
</para>
</listitem>
</varlistentry>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/functions/socket-listen.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/sockets/functions/socket-listen.xml
diff -u phpdoc/en/reference/sockets/functions/socket-listen.xml:1.8
phpdoc/en/reference/sockets/functions/socket-listen.xml:1.9
--- phpdoc/en/reference/sockets/functions/socket-listen.xml:1.8 Wed Jun 20
22:25:25 2007
+++ phpdoc/en/reference/sockets/functions/socket-listen.xml Tue Jul 3
19:53:55 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.socket-listen">
<refnamediv>
<refname>socket_listen</refname>
@@ -34,6 +34,7 @@
<term><parameter>socket</parameter></term>
<listitem>
<para>
+ A valid socket resource created with <function>socket_create</function>.
</para>
</listitem>
</varlistentry>