mirror of
https://github.com/php/doc-es.git
synced 2026-03-26 08:22:08 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@323887 c90b9560-bf6c-de11-be94-00142212c4b1
410 lines
16 KiB
XML
410 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: c1dc0919bfba0a89e163ece9bc58c54811a042c7 Maintainer: seros Status: ready -->
|
|
<appendix xml:id="stream.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<para>
|
|
<informaltable>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Constante</entry>
|
|
<entry>Descripción</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.stream-filter-read">
|
|
<entry><constant>STREAM_FILTER_READ</constant> *</entry>
|
|
<entry>
|
|
Usada con <function>stream_filter_append</function> y
|
|
<function>stream_filter_prepend</function> para indicar
|
|
que el filtro especificado debería aplicarse solamente al
|
|
<emphasis>leer</emphasis>
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-filter-write">
|
|
<entry><constant>STREAM_FILTER_WRITE</constant> *</entry>
|
|
<entry>
|
|
Usada con <function>stream_filter_append</function> y
|
|
<function>stream_filter_prepend</function> para indicar
|
|
que el filtro especificado debería aplicarse solamente al
|
|
<emphasis>escribir</emphasis>
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-filter-all">
|
|
<entry><constant>STREAM_FILTER_ALL</constant> *</entry>
|
|
<entry>
|
|
Esta constante es equivalente a
|
|
<code>STREAM_FILTER_READ | STREAM_FILTER_WRITE</code>
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.psfs-pass-on">
|
|
<entry><constant>PSFS_PASS_ON</constant> *</entry>
|
|
<entry><literal>Codigo Devuelto</literal> indicando que el
|
|
filtro de espacio de usuario devolvió recipientes en <parameter>$out</parameter>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.psfs-feed-me">
|
|
<entry><constant>PSFS_FEED_ME</constant> *</entry>
|
|
<entry><literal>Codigo Devuelto</literal> indicando que el
|
|
filtro de espacio de usuario no devolvió recipientes en <parameter>$out</parameter>
|
|
(es decir, No hay información disponible).
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.psfs-err-fatal">
|
|
<entry><constant>PSFS_ERR_FATAL</constant> *</entry>
|
|
<entry><literal>Codigo Devuelto</literal> indicando que el
|
|
filtro de espacio de usuario encontró un error irrecuperable
|
|
(es decir, Recibida información no válida).
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.psfs-flag-normal">
|
|
<entry><constant>PSFS_FLAG_NORMAL</constant></entry>
|
|
<entry>Lectura/escritura normal.</entry>
|
|
</row>
|
|
<row xml:id="constant.psfs-flag-flush-inc">
|
|
<entry><constant>PSFS_FLAG_FLUSH_INC</constant></entry>
|
|
<entry>Un volcado incremental.</entry>
|
|
</row>
|
|
<row xml:id="constant.psfs-flag-flush-close">
|
|
<entry><constant>PSFS_FLAG_FLUSH_CLOSE</constant></entry>
|
|
<entry>Volcado final antes de cerrar.</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-use-path">
|
|
<entry><constant>STREAM_USE_PATH</constant></entry>
|
|
<entry><literal>Bandera</literal> que indica si el <literal>flujo</literal>
|
|
usó la ruta incluida.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-report-errors">
|
|
<entry><constant>STREAM_REPORT_ERRORS</constant></entry>
|
|
<entry><literal>Bandera</literal> que indica si la <literal>envoltura</literal>
|
|
es responsable de lanzar errores usando <function>trigger_error</function>
|
|
durante la apertura del flujo. Si no se establece esta bandera, no
|
|
debería de lanzarse ningún error.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-client-async-connect">
|
|
<entry><constant>STREAM_CLIENT_ASYNC_CONNECT</constant> *</entry>
|
|
<entry>Apertura del socket del cliente de manera asíncrona. Esta opción debe utilizarse
|
|
junto con la bandera <constant>STREAM_CLIENT_CONNECT</constant>.
|
|
Usada con <function>stream_socket_client</function>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-client-connect">
|
|
<entry><constant>STREAM_CLIENT_CONNECT</constant> *</entry>
|
|
<entry>Apertura de la conexión de socket del cliente. Los sockets del cliente deberían
|
|
incluir siempre esta bandera. Usada con <function>stream_socket_client</function>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-client-persistent">
|
|
<entry><constant>STREAM_CLIENT_PERSISTENT</constant> *</entry>
|
|
<entry>El socket del cliente abierto con <function>stream_socket_client</function>
|
|
debería permanecer persistente entre cargas de páginas.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-server-bind">
|
|
<entry><constant>STREAM_SERVER_BIND</constant> *</entry>
|
|
<entry>Le indica a un flujo creado con <function>stream_socket_server</function> que
|
|
enlace al objetivo especificado. Los sockets del servidor deberían incluir siempre esta bandera.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-server-listen">
|
|
<entry><constant>STREAM_SERVER_LISTEN</constant> *</entry>
|
|
<entry>Le indica a un flujo creado con <function>stream_socket_server</function>
|
|
y enlazado usando la bandera <constant>STREAM_SERVER_BIND</constant> que inicie
|
|
la escucha del socket. Los transportes orientados a conexión (como TCP)
|
|
deben usar esta bandera, de otro modo el socket del servidor no se habilitará.
|
|
Usar esta bandera para transportes no orientados a conexión (como UDP) es un error.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-resolve">
|
|
<entry><constant>STREAM_NOTIFY_RESOLVE</constant> *</entry>
|
|
<entry>
|
|
Ha sido resuelta una dirección remota necesaria para este flujo, o la resolución
|
|
falló. Véase <parameter>severity</parameter> para una indicación de lo que sucedió.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-connect">
|
|
<entry><constant>STREAM_NOTIFY_CONNECT</constant></entry>
|
|
<entry>
|
|
Ha sido establecida una conexión con un recurso externo.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-auth-required">
|
|
<entry><constant>STREAM_NOTIFY_AUTH_REQUIRED</constant></entry>
|
|
<entry>
|
|
Se requiere autorización adicional para acceder al recurso especificado.
|
|
Normalmente emitido con nivel de <parameter>severity</parameter> de
|
|
<constant>STREAM_NOTIFY_SEVERITY_ERR</constant>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-mime-type-is">
|
|
<entry><constant>STREAM_NOTIFY_MIME_TYPE_IS</constant></entry>
|
|
<entry>
|
|
El <literal>tipo mime</literal> del recurso ha sido indentificado,
|
|
consulte <parameter>message</parameter> para una descripción del
|
|
tipo encontrado.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-file-size-is">
|
|
<entry><constant>STREAM_NOTIFY_FILE_SIZE_IS</constant></entry>
|
|
<entry>
|
|
El <literal>tamaño</literal> del recurso ha sido encontrado.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-redirected">
|
|
<entry><constant>STREAM_NOTIFY_REDIRECTED</constant></entry>
|
|
<entry>
|
|
El recurso externo ha redireccionado el flujo a una ubicación
|
|
alternativa. Consulte <parameter>message</parameter>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-progress">
|
|
<entry><constant>STREAM_NOTIFY_PROGRESS</constant></entry>
|
|
<entry>
|
|
Indica el progreso actual de la transmisión del flujo en
|
|
<parameter>bytes_transferred</parameter> y posiblemente también en
|
|
<parameter>bytes_max</parameter>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-completed">
|
|
<entry><constant>STREAM_NOTIFY_COMPLETED</constant> *</entry>
|
|
<entry>
|
|
No hay más información disponible en el flujo.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-failure">
|
|
<entry><constant>STREAM_NOTIFY_FAILURE</constant></entry>
|
|
<entry>
|
|
Ocurrión un error genérico en el flujo, consulte
|
|
<parameter>message</parameter> y <parameter>message_code</parameter>
|
|
para más detalles.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-auth-result">
|
|
<entry><constant>STREAM_NOTIFY_AUTH_RESULT</constant></entry>
|
|
<entry>
|
|
La autorización ha sido completada (con o sin éxito).
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-severity-info">
|
|
<entry><constant>STREAM_NOTIFY_SEVERITY_INFO</constant></entry>
|
|
<entry>
|
|
Notificación normal, ningún error relacionado.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-severity-warn">
|
|
<entry><constant>STREAM_NOTIFY_SEVERITY_WARN</constant></entry>
|
|
<entry>
|
|
Condición de no haber ningún error crítico. El proceso puede continuar.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-notify-severity-err">
|
|
<entry><constant>STREAM_NOTIFY_SEVERITY_ERR</constant></entry>
|
|
<entry>
|
|
Ocurrió un error crítico. El proceso no puede continuar.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-ipproto-icmp">
|
|
<entry><constant>STREAM_IPPROTO_ICMP</constant> +</entry>
|
|
<entry>
|
|
Proporciona un socket ICMP.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-ipproto-ip">
|
|
<entry><constant>STREAM_IPPROTO_IP</constant> +</entry>
|
|
<entry>
|
|
Proporciona un socket IP.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-ipproto-raw">
|
|
<entry><constant>STREAM_IPPROTO_RAW</constant> +</entry>
|
|
<entry>
|
|
Proporciona un socket RAW.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-ipproto-tcp">
|
|
<entry><constant>STREAM_IPPROTO_TCP</constant> +</entry>
|
|
<entry>
|
|
Proporciona un socket TCP.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-ipproto-udp">
|
|
<entry><constant>STREAM_IPPROTO_UDP</constant> +</entry>
|
|
<entry>
|
|
Proporciona un socket UDP.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-pf-inet">
|
|
<entry><constant>STREAM_PF_INET</constant> +</entry>
|
|
<entry>
|
|
Protocolo de Internet Versión 4 (IPv4).
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-pf-inet6">
|
|
<entry><constant>STREAM_PF_INET6</constant> +</entry>
|
|
<entry>
|
|
Protocolo de Internet Versión 6 (IPv6).
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-pf-unix">
|
|
<entry><constant>STREAM_PF_UNIX</constant> +</entry>
|
|
<entry>
|
|
Protocolos internos de sistemas Unix.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-sock-dgram">
|
|
<entry><constant>STREAM_SOCK_DGRAM</constant> +</entry>
|
|
<entry>
|
|
Proporciona datagramas, que son mensajes no orientados a conexión (UDP, por
|
|
ejemplo).
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-sock-raw">
|
|
<entry><constant>STREAM_SOCK_RAW</constant> +</entry>
|
|
<entry>
|
|
Proporciona un socket sin tratar, el cuál porporciona acceso a los protocolos e interfaces
|
|
de red internos. Normalmente este tipo de socket está disponible
|
|
para el usuario root.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-sock-rdm">
|
|
<entry><constant>STREAM_SOCK_RDM</constant> +</entry>
|
|
<entry>
|
|
Proporciona un socket RDM (Reliably-Delivered Messages, Mensajes Formalmente Emitidos).
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-sock-seqpacket">
|
|
<entry><constant>STREAM_SOCK_SEQPACKET</constant> +</entry>
|
|
<entry>
|
|
Proporciona un socket de flujo de paquetes secuenciados.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-sock-stream">
|
|
<entry><constant>STREAM_SOCK_STREAM</constant> +</entry>
|
|
<entry>
|
|
Proporciona flujos secuenciados de bytes bidireccionales con un mecanismo de transmisión
|
|
de información fuera de banda (TCP, por ejemplo).
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-shut-rd">
|
|
<entry><constant>STREAM_SHUT_RD</constant></entry>
|
|
<entry>
|
|
Usado con <function>stream_socket_shutdown</function> para deshabilitar
|
|
más recepciones. Añadido en PHP 5.2.1.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-shut-wr">
|
|
<entry><constant>STREAM_SHUT_WR</constant></entry>
|
|
<entry>
|
|
Usado con <function>stream_socket_shutdown</function> para deshabilitar
|
|
más transmisiones. Añadido en PHP 5.2.1.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-shut-rdwr">
|
|
<entry><constant>STREAM_SHUT_RDWR</constant></entry>
|
|
<entry>
|
|
Usado con <function>stream_socket_shutdown</function> para deshabilitar
|
|
más recepciones y transmisiones. Añadido en PHP 5.2.1.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-cast-for-select">
|
|
<entry><constant>STREAM_CAST_FOR_SELECT</constant></entry>
|
|
<entry>
|
|
Conversión del tipo de flujo, para cuando <function>stream_select</function> llama
|
|
a <function>stream_cast</function>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-cast-as-stream">
|
|
<entry><constant>STREAM_CAST_AS_STREAM</constant></entry>
|
|
<entry>
|
|
Conversión del tipo de flujo, cuando <function>stream_cast</function> es llamada
|
|
de otro modo (vea la constante de arriba).
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-meta-touch">
|
|
<entry><constant>STREAM_META_TOUCH</constant></entry>
|
|
<entry>
|
|
Usado con <function>stream_metadata</function>, para especificar la llamada a <function>touch</function>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-meta-owner">
|
|
<entry><constant>STREAM_META_OWNER</constant></entry>
|
|
<entry>
|
|
Usado con <function>stream_metadata</function>, para especificar la llamda a <function>chown</function>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-meta-owner-name">
|
|
<entry><constant>STREAM_META_OWNER_NAME</constant></entry>
|
|
<entry>
|
|
Usado con <function>stream_metadata</function>, para especificar la llamada a <function>chown</function>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-meta-group">
|
|
<entry><constant>STREAM_META_GROUP</constant></entry>
|
|
<entry>
|
|
Usado con <function>stream_metadata</function>, para especificar la llamada a <function>chgrp</function>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-meta-group-name">
|
|
<entry><constant>STREAM_META_GROUP_NAME</constant></entry>
|
|
<entry>
|
|
Usado con <function>stream_metadata</function>, para especificar la llamada a <function>chgrp</function>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.stream-meta-access">
|
|
<entry><constant>STREAM_META_ACCESS</constant></entry>
|
|
<entry>
|
|
Usado con <function>stream_metadata</function>, para especificar la llamada a <function>chmod</function>.
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</para>
|
|
<note>
|
|
<simpara>
|
|
Las constantes marcadas con <literal>*</literal> están disponibles desde
|
|
PHP 5.0.0.
|
|
</simpara>
|
|
</note>
|
|
<note>
|
|
<simpara>
|
|
Las constantes marcadas con <literal>+</literal> están disponibles desde PHP
|
|
5.1.0 y son usadas junto con
|
|
<function>stream_socket_pair</function>. Por favor, observe que alguna de estas
|
|
constantes podría no estar disponible en su sistema.
|
|
</simpara>
|
|
</note>
|
|
<note>
|
|
<simpara>
|
|
Las constantes <constant>STREAM_META_*</constant> están disponibles desde PHP
|
|
5.4.0 y están destinadas a ser usadas con <function>stream_metadata</function>.
|
|
</simpara>
|
|
</note>
|
|
</appendix>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|
|
|