new PHP 5.1 constants

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174868 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2004-12-16 11:29:35 +00:00
parent d92412f24d
commit 77c2cfeeb3

View file

@ -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>