cvs: phpdoc /en language-snippets.ent /en/reference/network/functions fsockopen.xml /en/reference/stream/functions stream-socket-client.xml
stream-socket-server.xml
| From: | Andrew Lindeman | Date: | Fri, 11 Apr 2003 12:44:32 +0000 |
| Subject: | cvs: phpdoc /en language-snippets.ent /en/reference/network/functions fsockopen.xml /en/reference/stream/functions stream-socket-client.xml stream-socket-server.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969352540@lists.php.net to get a copy of this message | ||
alindeman Fri Apr 11 08:44:32 2003 EDT
Modified files:
/phpdoc/en language-snippets.ent
/phpdoc/en/reference/network/functions fsockopen.xml
/phpdoc/en/reference/stream/functions stream-socket-client.xml
stream-socket-server.xml
Log:
making the tip for IPv6 an entity
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.44 phpdoc/en/language-snippets.ent:1.45
--- phpdoc/en/language-snippets.ent:1.44 Sun Mar 16 18:44:23 2003
+++ phpdoc/en/language-snippets.ent Fri Apr 11 08:44:32 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.44 $ -->
+<!-- $Revision: 1.45 $ -->
<!ENTITY warn.experimental '<warning><simpara>This extension is
<emphasis>EXPERIMENTAL</emphasis>. The behaviour of this extension --
@@ -185,3 +185,8 @@
<!ENTITY reftitle.classes '<title>Predefined Classes</title>'>
<!ENTITY reftitle.examples '<title>Examples</title>'>
<!ENTITY reftitle.seealso '<title>See Also</title>'>
+
+<!-- Notes for IPv6 -->
+<!ENTITY ipv6.brackets '<note><simpara>When specifying a numerical IPv6 address
+(e.g. fe80::1) you must enclose the IP in square brackets. For example,
+<literal>tcp://[fe80::1]:80</literal>.</simpara></note>'>
Index: phpdoc/en/reference/network/functions/fsockopen.xml
diff -u phpdoc/en/reference/network/functions/fsockopen.xml:1.4
phpdoc/en/reference/network/functions/fsockopen.xml:1.5
--- phpdoc/en/reference/network/functions/fsockopen.xml:1.4 Fri Apr 11 01:44:46 2003
+++ phpdoc/en/reference/network/functions/fsockopen.xml Fri Apr 11 08:44:32 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/network.xml, last change in rev 1.2 -->
<refentry id="function.fsockopen">
<refnamediv>
@@ -125,12 +125,7 @@
a link for the socket until it actually needs to send or receive data.
</simpara>
</warning>
- <tip>
- <simpara>
- When specifying a numerical IPv6 address (i.e. fe80::1) you must enclose
- the IP in square brackets. <literal>fsockopen("tcp://[fe80::1]",
80)</literal>.
- </simpara>
- </tip>
+ &ipv6.brackets;
<note>
<para>The timeout parameter was introduced in PHP 3.0.9 and
UDP support was added in PHP 4.
Index: phpdoc/en/reference/stream/functions/stream-socket-client.xml
diff -u phpdoc/en/reference/stream/functions/stream-socket-client.xml:1.2
phpdoc/en/reference/stream/functions/stream-socket-client.xml:1.3
--- phpdoc/en/reference/stream/functions/stream-socket-client.xml:1.2 Fri Apr 11 01:44:46 2003
+++ phpdoc/en/reference/stream/functions/stream-socket-client.xml Fri Apr 11 08:44:32 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.stream-socket-client">
<refnamediv>
<refname>stream_socket_client</refname>
@@ -124,12 +124,7 @@
a link for the socket until it actually needs to send or receive data.
</simpara>
</warning>
- <tip>
- <simpara>
- When specifying a numerical IPv6 address (i.e. fe80::1) you must enclose
- the IP in square brackets.
<literal>stream_socket_client("tcp://[fe80::1]:80")</literal>.
- </simpara>
- </tip>
+ &ipv6.brackets;
See also <function>stream_socket_server</function>,
<function>stream_set_blocking</function>,
<function>stream_set_timeout</function>,
Index: phpdoc/en/reference/stream/functions/stream-socket-server.xml
diff -u phpdoc/en/reference/stream/functions/stream-socket-server.xml:1.2
phpdoc/en/reference/stream/functions/stream-socket-server.xml:1.3
--- phpdoc/en/reference/stream/functions/stream-socket-server.xml:1.2 Fri Apr 11 01:44:46 2003
+++ phpdoc/en/reference/stream/functions/stream-socket-server.xml Fri Apr 11 08:44:32 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.stream-socket-server">
<refnamediv>
<refname>stream_socket_server</refname>
@@ -102,12 +102,7 @@
]]>
</programlisting>
</example>
- <tip>
- <simpara>
- When specifying a numerical IPv6 address (i.e. fe80::1) you must enclose
- the IP in square brackets.
<literal>stream_socket_server("tcp://[fe80::1]:80")</literal>.
- </simpara>
- </tip>
+ &ipv6.brackets;
See also <function>stream_socket_client</function>,
<function>stream_set_blocking</function>,
<function>stream_set_timeout</function>,