pollita Fri Sep 10 11:43:58 2004 EDT
Modified files:
/phpdoc/en/appendices transports.xml
Log:
Document ssl2:// and ssl3:// transports
http://cvs.php.net/diff.php/phpdoc/en/appendices/transports.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/appendices/transports.xml
diff -u phpdoc/en/appendices/transports.xml:1.10
phpdoc/en/appendices/transports.xml:1.11
--- phpdoc/en/appendices/transports.xml:1.10 Tue Aug 10 12:30:13 2004
+++ phpdoc/en/appendices/transports.xml Fri Sep 10 11:43:57 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<appendix id="transports">
<title>List of Supported Socket Transports</title>
<para>
@@ -18,7 +18,11 @@
<section id="transports.inet">
<title>Internet Domain: TCP, UDP, SSL, and TLS</title>
- <simpara>PHP 3, PHP 4, PHP 5. <literal>ssl://</literal> &
<literal>tls://</literal> since PHP 4.3</simpara>
+ <simpara>
+ PHP 3, PHP 4, PHP 5.
+ <literal>ssl://</literal> & <literal>tls://</literal> since PHP 4.3.0
+ <literal>sslv2://</literal> & <literal>sslv3://</literal> since PHP 5.0.2
+ </simpara>
<note>
<simpara>
@@ -35,6 +39,8 @@
<listitem><simpara><literal>tcp://www.example.com</literal></simpara></listitem>
<listitem><simpara><literal>udp://www.example.com</literal></simpara></listitem>
<listitem><simpara><literal>ssl://www.example.com</literal></simpara></listitem>
+ <listitem><simpara><literal>ssl2://www.example.com</literal></simpara></listitem>
+ <listitem><simpara><literal>ssl3://www.example.com</literal></simpara></listitem>
<listitem><simpara><literal>tls://www.example.com</literal></simpara></listitem>
</itemizedlist>
@@ -69,10 +75,18 @@
<simpara>
The <literal>ssl://</literal> and <literal>tls://</literal> transports
(available only when openssl support is compiled into PHP) are extensions
- of the <literal>tcp://</literal> transport which includes SSL encryption.
+ of the <literal>tcp://</literal> transport which include SSL encryption.
Since PHP 4.3.0 OpenSSL support must be statically
compiled into PHP, since PHP 5.0.0
it may be compiled as a module or statically.
+ </simpara>
+
+ <simpara>
+ <literal>ssl://</literal> will attempt to negotiate an SSL V2,
+ or SSL V3 connection depending on the capabilities and preferences
+ of the remote host. <literal>ssl2://</literal> and
+ <literal>ssl3://</literal> will select the SSL V2 or SSL V3
+ protocol explicitly.
</simpara>
<para>