nlopess         Thu Dec 16 06:29:37 2004 EDT

  Modified files:              
    /phpdoc/en/reference/stream constants.xml 
  Log:
  new PHP 5.1 constants
  
http://cvs.php.net/diff.php/phpdoc/en/reference/stream/constants.xml?r1=1.13&r2=1.14&ty=u
Index: phpdoc/en/reference/stream/constants.xml
diff -u phpdoc/en/reference/stream/constants.xml:1.13 
phpdoc/en/reference/stream/constants.xml:1.14
--- phpdoc/en/reference/stream/constants.xml:1.13       Mon Oct 11 10:45:12 2004
+++ phpdoc/en/reference/stream/constants.xml    Thu Dec 16 06:29:35 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
 <section id="stream.constants">
  &reftitle.constants;
  &extension.constants;
@@ -195,14 +195,104 @@
        A critical error occurred.  Processing cannot continue.
       </entry>
      </row>
+     <row>
+      <entry><constant>STREAM_IPPROTO_ICMP</constant> +</entry>
+      <entry>
+       Provides a ICMP socket.
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_IPPROTO_IP</constant> +</entry>
+      <entry>
+       Provides a IP socket.
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_IPPROTO_RAW</constant> +</entry>
+      <entry>
+       Provides a RAW socket.
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_IPPROTO_TCP</constant> +</entry>
+      <entry>
+       Provides a TCP socket.
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_IPPROTO_UDP</constant> +</entry>
+      <entry>
+       Provides a UDP socket.
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_PF_INET</constant> +</entry>
+      <entry>
+       Internet Protocol Version 4 (IPv4).
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_PF_INET6</constant> +</entry>
+      <entry>
+       Internet Protocol Version 6 (IPv6).
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_PF_UNIX</constant> +</entry>
+      <entry>
+       Unix system internal protocols.
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_SOCK_DGRAM</constant> +</entry>
+      <entry>
+       Provides datagrams, which are connectionless messages (UDP, for
+       example).
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_SOCK_RAW</constant> +</entry>
+      <entry>
+       Provides a raw socket, which provides access to internal network
+       protocols and interfaces. Usually this type of socket is just available
+       to the root user.
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_SOCK_RDM</constant> +</entry>
+      <entry>
+       Provides a RDM (Reliably-delivered messages) socket.
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_SOCK_SEQPACKET</constant> +</entry>
+      <entry>
+       Provides a sequenced packet stream socket.
+      </entry>
+     </row>
+     <row>
+      <entry><constant>STREAM_SOCK_STREAM</constant> +</entry>
+      <entry>
+       Provides sequenced, two-way byte streams with a transmission mechanism
+       for out-of-band data (TCP, for example).
+      </entry>
+     </row>
     </tbody>
    </tgroup>
   </informaltable>
  </para>
  <note>
   <simpara>
-   The constants marked with <literal>*</literal> are just available
-   in PHP 5.
+   The constants marked with <literal>*</literal> are just available since
+   PHP 5.0.0.
+  </simpara>
+ </note>
+ <note>
+  <simpara>
+   The constants marked with <literal>+</literal> are available since PHP
+   5.1.0 and are meant to be used with
+   <function>stream_socket_pair</function>. Please note that some of these
+   constants might not be available in your system.
   </simpara>
  </note>
 </section>

Reply via email to