From 77c2cfeeb313156286b4d5e54fdd78b2b73715a5 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Thu, 16 Dec 2004 11:29:35 +0000 Subject: [PATCH] new PHP 5.1 constants git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174868 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/stream/constants.xml | 96 ++++++++++++++++++++++++++++++++-- 1 file changed, 93 insertions(+), 3 deletions(-) diff --git a/reference/stream/constants.xml b/reference/stream/constants.xml index d401b4a47c..3e4b4d1f14 100644 --- a/reference/stream/constants.xml +++ b/reference/stream/constants.xml @@ -1,5 +1,5 @@ - +
&reftitle.constants; &extension.constants; @@ -195,14 +195,104 @@ A critical error occurred. Processing cannot continue. + + STREAM_IPPROTO_ICMP + + + Provides a ICMP socket. + + + + STREAM_IPPROTO_IP + + + Provides a IP socket. + + + + STREAM_IPPROTO_RAW + + + Provides a RAW socket. + + + + STREAM_IPPROTO_TCP + + + Provides a TCP socket. + + + + STREAM_IPPROTO_UDP + + + Provides a UDP socket. + + + + STREAM_PF_INET + + + Internet Protocol Version 4 (IPv4). + + + + STREAM_PF_INET6 + + + Internet Protocol Version 6 (IPv6). + + + + STREAM_PF_UNIX + + + Unix system internal protocols. + + + + STREAM_SOCK_DGRAM + + + Provides datagrams, which are connectionless messages (UDP, for + example). + + + + STREAM_SOCK_RAW + + + 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. + + + + STREAM_SOCK_RDM + + + Provides a RDM (Reliably-delivered messages) socket. + + + + STREAM_SOCK_SEQPACKET + + + Provides a sequenced packet stream socket. + + + + STREAM_SOCK_STREAM + + + Provides sequenced, two-way byte streams with a transmission mechanism + for out-of-band data (TCP, for example). + + - The constants marked with * are just available - in PHP 5. + The constants marked with * are just available since + PHP 5.0.0. + + + + + The constants marked with + are available since PHP + 5.1.0 and are meant to be used with + stream_socket_pair. Please note that some of these + constants might not be available in your system.