cvs: phpdoc /en/reference/network/functions gethostbyname.xml gethostbynamel.xml
| From: | Joey Smith | Date: | Tue, 21 Apr 2009 00:53:22 +0000 |
| Subject: | cvs: phpdoc /en/reference/network/functions gethostbyname.xml gethostbynamel.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3826@lists.php.net to get a copy of this message | ||
joey Tue Apr 21 00:53:22 2009 UTC
Modified files:
/phpdoc/en/reference/network/functions gethostbyname.xml
gethostbynamel.xml
Log:
Fix bugs 33170 and 48008 documenting that gethostbyname and gethostbynamel
are IPv4 only.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/gethostbyname.xml?r1=1.14&r2=1.15&diff_format=u
Index: phpdoc/en/reference/network/functions/gethostbyname.xml
diff -u phpdoc/en/reference/network/functions/gethostbyname.xml:1.14
phpdoc/en/reference/network/functions/gethostbyname.xml:1.15
--- phpdoc/en/reference/network/functions/gethostbyname.xml:1.14 Wed Jun 20 22:25:04 2007
+++ phpdoc/en/reference/network/functions/gethostbyname.xml Tue Apr 21 00:53:22 2009
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<refentry xml:id="function.gethostbyname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gethostbyname</refname>
<refpurpose>
- Get the IP address corresponding to a given Internet host name
+ Get the IPv4 address corresponding to a given Internet host name
</refpurpose>
</refnamediv>
@@ -15,7 +15,7 @@
<methodparam><type>string</type><parameter>hostname</parameter></methodparam>
</methodsynopsis>
<para>
- Returns the IP address of the Internet host specified by
+ Returns the IPv4 address of the Internet host specified by
<parameter>hostname</parameter>.
</para>
</refsect1>
@@ -39,7 +39,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the IP address or a string containing the unmodified
+ Returns the IPv4 address or a string containing the unmodified
<parameter>hostname</parameter> on failure.
</para>
</refsect1>
@@ -68,6 +68,8 @@
<simplelist>
<member><function>gethostbyaddr</function></member>
<member><function>gethostbynamel</function></member>
+ <member><function>inet_pton</function></member>
+ <member><function>inet_ntop</function></member>
</simplelist>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/gethostbynamel.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/network/functions/gethostbynamel.xml
diff -u phpdoc/en/reference/network/functions/gethostbynamel.xml:1.10
phpdoc/en/reference/network/functions/gethostbynamel.xml:1.11
--- phpdoc/en/reference/network/functions/gethostbynamel.xml:1.10 Wed Jun 20 22:25:04 2007
+++ phpdoc/en/reference/network/functions/gethostbynamel.xml Tue Apr 21 00:53:22 2009
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry xml:id="function.gethostbynamel" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gethostbynamel</refname>
<refpurpose>
- Get a list of IP addresses corresponding to a given Internet host
+ Get a list of IPv4 addresses corresponding to a given Internet host
name
</refpurpose>
</refnamediv>
@@ -15,7 +15,7 @@
<methodparam><type>string</type><parameter>hostname</parameter></methodparam>
</methodsynopsis>
<para>
- Returns a list of IP addresses to which the Internet host
+ Returns a list of IPv4 addresses to which the Internet host
specified by <parameter>hostname</parameter> resolves.
</para>
</refsect1>
@@ -39,7 +39,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns an array of IP addresses or &false; if
+ Returns an array of IPv4 addresses or &false; if
<parameter>hostname</parameter> could not be resolved.
</para>
</refsect1>