cvs: phpdoc-es / translation.xml /reference/network constants.xml ini.xml /reference/network/functions define-syslog-variables.xml
dns-check-record.xml dns-get-mx.xml dns-get-record.xml ip2long.xml long2ip.xml socket-get-status.xml socket-set-blocking.xml socket-set-timeout.xml
| From: | Leonardo Boshell | Date: | Fri, 05 Dec 2003 06:00:13 +0000 |
| Subject: | cvs: phpdoc-es / translation.xml /reference/network constants.xml ini.xml /reference/network/functions define-syslog-variables.xml dns-check-record.xml dns-get-mx.xml dns-get-record.xml ip2long.xml long2ip.xml socket-get-status.xml socket-set-blocking.xml socket-set-timeout.xml |
||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-436@lists.php.net to get a copy of this message | ||
lboshell Fri Dec 5 01:00:13 2003 EDT
Added files:
/phpdoc-es/reference/network constants.xml ini.xml
/phpdoc-es/reference/network/functions define-syslog-variables.xml
dns-check-record.xml
dns-get-mx.xml
dns-get-record.xml
ip2long.xml long2ip.xml
socket-get-status.xml
socket-set-blocking.xml
socket-set-timeout.xml
Modified files:
/phpdoc-es translation.xml
Log:
Nuevos archivos de reference/network. Asignacion de nuevo trabajo.
Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.95 phpdoc-es/translation.xml:1.96 --- phpdoc-es/translation.xml:1.95 Thu Dec 4 03:56:39 2003 +++ phpdoc-es/translation.xml Fri Dec 5 01:00:10 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.95 $ --> +<!-- $Revision: 1.96 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -45,16 +45,16 @@ <file name="reference/errorfunc/functions/set-error-handler.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/trigger-error.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/user-error.xml" person="javi" type="translation" date="01.12.2003"/> -<file name="reference/network/constants.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/ini.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/define-syslog-variables.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/dns-check-record.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/dns-get-mx.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/dns-get-record.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/ip2long.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/long2ip.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/socket-get-status.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/socket-set-blocking.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/socket-set-timeout.xml" person="lboshell" type="translation" date="04.12.2003"/> +<file name="reference/http/functions/headers-list.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/readline/configure.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/configure.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/constants.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/ini.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/functions/session-regenerate-id.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/functions/session-register.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/url/functions/get-meta-tags.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/url/functions/http-build-query.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/url/functions/rawurldecode.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/url/functions/rawurlencode.xml" person="lboshell" type="translation" date="05.12.2003"/> </work-in-progress> </translation> Index: phpdoc-es/reference/network/constants.xml +++ phpdoc-es/reference/network/constants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <section id="network.constants"> &reftitle.constants; &extension.constants.core; <table> <title>Opciones de <function>openlog</function></title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>LOG_CONS</entry> <entry> si hay un error durante el envío de datos al registro del sistema, escribir directamente a la consola de sistema </entry> </row> <row> <entry>LOG_NDELAY</entry> <entry> abrir la conexión con el registro inmediatamente </entry> </row> <row> <entry>LOG_ODELAY</entry> <entry> (predeterminado) retrasar la apertura de conexión hasta que el primer mensaje sea registrado </entry> </row> <row> <entry>LOG_NOWAIT</entry> <entry> </entry> </row> <row> <entry>LOG_PERROR</entry> <entry>imprimir mensajes de registro también en stderr</entry> </row> <row> <entry>LOG_PID</entry> <entry>incluir PID con cada mensaje</entry> </row> </tbody> </tgroup> </table> <table> <title>Facilidades de <function>openlog</function></title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>LOG_AUTH</entry> <entry> mensajes de seguridad/autorización (usar LOG_AUTHPRIV en su lugar en sistemas en donde tal constante está definida) </entry> </row> <row> <entry>LOG_AUTHPRIV</entry> <entry>mensajes de seguridad/autorización (privados)</entry> </row> <row> <entry>LOG_CRON</entry> <entry>daemonio de reloj (cron y at)</entry> </row> <row> <entry>LOG_DAEMON</entry> <entry>otros daemonios de sistema</entry> </row> <row> <entry>LOG_KERN</entry> <entry>mensajes de kernel</entry> </row> <row> <entry>LOG_LOCAL0 ... LOG_LOCAL7</entry> <entry>reservadas para uso local, no están disponibles en Windows</entry> </row> <row> <entry>LOG_LPR</entry> <entry>subsistema de impresión de línea</entry> </row> <row> <entry>LOG_MAIL</entry> <entry>subsistema de correo</entry> </row> <row> <entry>LOG_NEWS</entry> <entry>subsistema de noticias USENET</entry> </row> <row> <entry>LOG_SYSLOG</entry> <entry>mensajes generados internamente por syslogd</entry> </row> <row> <entry>LOG_USER</entry> <entry>mensajes genéricos de nivel de usuario</entry> </row> <row> <entry>LOG_UUCP</entry> <entry>subsistema UUCP</entry> </row> </tbody> </tgroup> </table> <table> <title>Prioridades de <function>syslog</function> (en orden descendiente)</title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>LOG_EMERG</entry> <entry>el sistema es inutilizable</entry> </row> <row> <entry>LOG_ALERT</entry> <entry>debe tomarse una acción inmediatamente</entry> </row> <row> <entry>LOG_CRIT</entry> <entry>condiciones críticas</entry> </row> <row> <entry>LOG_ERR</entry> <entry>condiciones de error</entry> </row> <row> <entry>LOG_WARNING</entry> <entry>condiciones de advertencia</entry> </row> <row> <entry>LOG_NOTICE</entry> <entry>condición normal, pero significativa</entry> </row> <row> <entry>LOG_INFO</entry> <entry>mensaje informativo</entry> </row> <row> <entry>LOG_DEBUG</entry> <entry>mensaje de nivel de depuración</entry> </row> </tbody> </tgroup> </table> <table> <title>Opciones de <function>dns_get_record</function></title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>DNS_A</entry> <entry>Recurso de Dirección IPv4</entry> </row> <row> <entry>DNS_MX</entry> <entry>Recurso de Intercambio de Correo</entry> </row> <row> <entry>DNS_CNAME</entry> <entry>Recurso Alias (Nombre Canónico)</entry> </row> <row> <entry>DNS_NS</entry> <entry>Recurso de Autoridad de Servidor de Nombres</entry> </row> <row> <entry>DNS_PTR</entry> <entry>Recurso de Apuntador</entry> </row> <row> <entry>DNS_HINFO</entry> <entry>Recurso de Información de Host (Vea los <ulink url="&url.iana.system-names;">Nombres de Sistemas Operativos</ulink> de IANA para consultar el significado de estos valores)</entry> </row> <row> <entry>DNS_SOA</entry> <entry>Comienzo de Recurso de Autoridad</entry> </row> <row> <entry>DNS_TXT</entry> <entry>Recurso de Texto</entry> </row> <row> <entry>DNS_ANY</entry> <entry>Cualquier Registro de Recurso. En la mayoría de sistemas, éste valor devuelve todos los registros de recurso, sin embargo, no debería confiarse en él para usos críticos. Pruebe con DNS_ALL en su lugar.</entry> </row> <row> <entry>DNS_AAAA</entry> <entry>Recurso de Dirección IPv6</entry> </row> <row> <entry>DNS_ALL</entry> <entry>Consultar el nombre de servidor iterativamente para cada tipo de registro disponible.</entry> </row> </tbody> </tgroup> </table> </section> <!-- 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:"../../../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 --> Index: phpdoc-es/reference/network/ini.xml +++ phpdoc-es/reference/network/ini.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <section id="network.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> <title>Opciones de Configuración de Red</title> <tgroup cols="3"> <thead> <row> <entry>Nombre</entry> <entry>Predeterminado</entry> <entry>Modificable</entry> </row> </thead> <tbody> <row> <entry>define_syslog_variables</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> </row> </tbody> </tgroup> </table> Para más detalles sobre las constantes PHP_INI_* y su definición, vea <function>ini_set</function>. </para> &ini.descriptions.title; <para> <variablelist> <varlistentry id="ini.define-syslog-variables"> <term> <parameter>define_syslog_variables</parameter> <type>boolean</type> </term> <listitem> <para> Indica si deben definirse las diferentes variables syslog (p.ej. $LOG_PID, $LOG_CRON, etc.). Deshabilitar este parámetro es una buena idea desde el punto de vista del rendimiento. En tiempo de ejecución, puede definir estas variables con un llamado a <function>define_syslog_variables</function>. </para> </listitem> </varlistentry> </variablelist> </para> </section> <!-- 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:"../../../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 --> Index: phpdoc-es/reference/network/functions/define-syslog-variables.xml +++ phpdoc-es/reference/network/functions/define-syslog-variables.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.20 --> <refentry id="function.define-syslog-variables"> <refnamediv> <refname>define_syslog_variables</refname> <refpurpose>Inicializa todas las constantes relacionadas con syslog</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>define_syslog_variables</methodname> <void/> </methodsynopsis> <para> Inicializa todas las constantes usadas en las funciones syslog. </para> <para> Vea también <function>openlog</function>, <function>syslog</function> y <function>closelog</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/dns-check-record.xml +++ phpdoc-es/reference/network/functions/dns-check-record.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.dns-check-record"> <refnamediv> <refname>dns_check_record</refname> <refpurpose>Sinónimo para <function>checkdnsrr</function></refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>dns_check_record</methodname> <methodparam><type>string</type><parameter>host</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>tipo</parameter></methodparam> </methodsynopsis> <para> Chequea los registros DNS correspondientes a un nombre de servidor huésped de Internet o dirección IP dada. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/dns-get-mx.xml +++ phpdoc-es/reference/network/functions/dns-get-mx.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.dns-get-mx"> <refnamediv> <refname>dns_get_mx</refname> <refpurpose>Sinónimo para <function>getmxrr</function></refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>dns_get_mx</methodname> <methodparam><type>string</type><parameter>nombre_host</parameter></methodparam> <methodparam><type>array</type><parameter>hosts_mx</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>&peso</parameter></methodparam> </methodsynopsis> <para> Obtener registros MX correspondientes a un nombre de servidor huésped de Internet dado. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/dns-get-record.xml +++ phpdoc-es/reference/network/functions/dns-get-record.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> <refentry id="function.dns-get-record"> <refnamediv> <refname>dns_get_record</refname> <refpurpose> Recuperar Registros de Recursos DNS asociados con un nombre de servidor huésped </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>dns_get_record</methodname> <methodparam><type>string</type><parameter>nombre_host</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>tipo</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>&authns</parameter></methodparam> <methodparam><type>array</type><parameter>&addtl</parameter></methodparam> </methodsynopsis> <para> <note> <simpara> Esta función no está implementada en plataformas Windows. Pruebe con la clase <ulink url="&url.php.pear;">PEAR</ulink> <ulink url="&url.pear.package;Net_DNS">Net_DNS</ulink>. </simpara> </note> </para> <para> Esta función devuelve una matriz de matrices asociativas. Cada matriz asociativa contiene <emphasis>por lo menos</emphasis> las siguientes claves: <table> <title>Atributos DNS básicos</title> <tgroup cols="2"> <thead> <row> <entry>Atributo</entry> <entry>Significado</entry> </row> </thead> <tbody> <row> <entry>host</entry> <entry> El registro en el espacio de nombres DNS al que hacen referencia el resto de datos asociados. </entry> </row> <row> <entry>class</entry> <entry> <function>dns_get_record</function> devuelve únicamente registros de clase Internet y como tal, éste parámetro siempre devolverá <literal>IN</literal>. </entry> </row> <row> <entry>type</entry> <entry> Cadena que contiene el tipo de registro. Otros atributos adicionales serán contenidos también en la matriz resultante dependiendo del valor de type. Vea la tabla más adelante. </entry> </row> <row> <entry>ttl</entry> <entry> Valor Time To Live restante para este registro. Este <emphasis>no</emphasis> será igual al ttl original del registro, sino que será igual al ttl original menos cualquiera que haya sido la longitud de tiempo transcurrido desde que el servidor de nombres oficial fuera consultado. </entry> </row> </tbody> </tgroup> </table> </para> <simpara> <parameter>nombre_host</parameter> debe ser un nombre de servidor huésped DNS válido, como "www.example.com". Pueden generarse consultas revertidas usando la notación in-addr.arpa, pero <function>gethostbyaddr</function> es más apropiada para la mayoría de consultas revertidas. </simpara> <para> Por defecto, <function>dns_get_record</function> buscará por cualquier registro de recurso asociado con <parameter>nombre_host</parameter>. Para limitar la consulta, especifique el parámetro opcional <parameter>tipo</parameter>. <parameter>tipo</parameter> puede ser cualquiera de los siguientes: <constant>DNS_A</constant>, <constant>DNS_CNAME</constant>, <constant>DNS_HINFO</constant>, <constant>DNS_MX</constant>, <constant>DNS_NS</constant>, <constant>DNS_PTR</constant>, <constant>DNS_SOA</constant>, <constant>DNS_TXT</constant>, <constant>DNS_AAAA</constant>, <constant>DNS_SRV</constant>, <constant>DNS_NAPTR</constant>, <constant>DNS_ALL</constant> o <constant>DNS_ANY</constant>. El valor predeterminado es <emphasis>DNS_ANY</emphasis>. <note> <para> Debido a excentricidades en el rendimiento de libresolv entre plataformas, <constant>DNS_ANY</constant> no siempre devolverá todos los registros, la alternativa más lenta <constant>DNS_ALL</constant> recolectará todos los registros de forma más confiable. </para> </note> </para> <simpara> Los opcionales tercer y cuarto argumento de esta función, <parameter>authns</parameter> y <parameter>addtl</parameter> son pasados por referencia y, si son usados, serán llenados con Registros de Recurso para los <emphasis>Servidores de Nombres Oficiales</emphasis>, y cualquier <emphasis>Registro Adicional</emphasis> respectivamente. Vea el ejemplo más adelante. </simpara> <para> <table> <title>Otras claves en las matrices asociativas, dependientes de 'type'</title> <tgroup cols="2"> <thead> <row> <entry>Tipo</entry> <entry>Columnas Extra</entry> </row> </thead> <tbody> <row> <entry><literal>A</literal></entry> <entry> <literal>ip</literal>: Una dirección IPv4 en notación decimal con puntos. </entry> </row> <row> <entry><literal>MX</literal></entry> <entry> <literal>pri</literal>: Prioridad del gestor de correo. Números bás bajos indican mayor prioridad. <literal>target</literal>: FQDN del gestor de correo. Vea también <function>dns_get_mx</function>. </entry> </row> <row> <entry><literal>CNAME</literal></entry> <entry> <literal>target</literal>: FQDN de la ubicación en el espacio de nombres DNS de la cual es alias el registro. </entry> </row> <row> <entry><literal>NS</literal></entry> <entry> <literal>target</literal>: FQDN del servidor de nombres que es la autoridad para este nombre de host. </entry> </row> <row> <entry><literal>PTR</literal></entry> <entry> <literal>target</literal>: Ubicación dentro del espacio de nombres DNS a la que apunta este registro. </entry> </row> <row> <entry><literal>TXT</literal></entry> <entry> <literal>txt</literal>: Cadena de datos arbitraria asociada con este registro. </entry> </row> <row> <entry><literal>HINFO</literal></entry> <entry> <literal>cpu</literal>: Número IANA que indica el CPU de la máquina referenciada por este registro. <literal>os</literal>: Número IANA que indica el Sistema Operativo en la máquina referenciada por este registro. Vea los <ulink url="&url.iana.system-names;">Nombres de Sistemas Operativos</ulink> de IANA para consultar el significado de estos valores. </entry> </row> <row> <entry><literal>SOA</literal></entry> <entry> <literal>mname</literal>: FQDN de la máquina desde donde se originaron los registros de recurso. <literal>rname</literal>: Dirección de correo electrónico del contacto administrativo para este dominio. <literal>serial</literal>: # serial de esta revisión del dominio solicitado. <literal>refresh</literal>: Intervalo de actualización (segundos) que deben usar los servidores de nombre secundarios cuando actualicen las copias remotas de este dominio. <literal>retry</literal>: Periodo de tiempo (segundos) para esperar después de una actualización fallida antes de hacer un segundo intento. <literal>expire</literal>: Periodo máximo de tiempo (segundos) que un servidor DNS secundario debe conservar copias remotas de los datos de zona sin una actualización exitosa antes de descartarlos. <literal>minimum-ttl</literal>: Periodo mínimo de tiempo (segundos) en el que un cliente puede continuar usando una resolución DNS antes de que deba solicitar una nueva resolución del servidor. Puede ser sobrescrito por registros de recurso individuales. </entry> </row> <row> <entry><literal>AAAA</literal></entry> <entry> <literal>ipv6</literal>: Dirección IPv6 </entry> </row> <row> <entry><literal>SRV</literal></entry> <entry> <literal>pri</literal>: (Prioridad) las prioridades más bajas deben ser usadas primero. <literal>weight</literal>: Rangos para pesar cuál de los <parameter>destinos</parameter> comunmente con prioridades debe ser elegido al azar. <literal>target</literal> y <literal>port</literal>: nombre de servidor huésped y puerto en dondo puede encontrarse el servicio solicitado. Para más información, vea: <ulink url="&url.rfc;2782">RFC 2782</ulink> </entry> </row> <row> <entry><literal>NAPTR</literal></entry> <entry> <literal>order</literal> y <literal>pref</literal>: Equivalente a <parameter>pri</parameter> y <parameter>weight</parameter> descritos anteriormente. <literal>flags</literal>, <literal>services</literal>, <literal>regex</literal>, y <literal>replacement</literal>: Parámetros, como se definen por <ulink url="&url.rfc;2915">RFC 2915</ulink>. </entry> </row> </tbody> </tgroup> </table> </para> <para> <note> <para> Debido a estándares DNS, las direcciones de correo electrónico son dadas en formato usuario.host (por ejemplo: hostmaster.example.com en lugar de hostmaster@example.com), asegúrese de chequear este valor y modificarlo si es necesario antes de usarlo con funciones como <function>mail</function>. </para> </note> </para> <example> <title>Uso de <function>dns_get_record</function></title> <programlisting role="php"> <![CDATA[ <?php $resultado = dns_get_record("php.net"); print_r($resultado); ?> /* Produce una salida similar a la siguiente: ------------------------------------------ Array ( [0] => Array ( [host] => php.net [type] => MX [pri] => 5 [target] => pair2.php.net [class] => IN [ttl] => 6765 ) [1] => Array ( [host] => php.net [type] => A [ip] => 64.246.30.37 [class] => IN [ttl] => 8125 ) ) */ ]]> </programlisting> </example> <simpara> Ya que es muy común desear la dirección IP de un servidor de correo una vez el registro MX ha sido resuelto, <function>dns_get_record</function> también devuelve una matriz en <parameter>addtl</parameter> la cual contiene registros asociados. <parameter>authns</parameter> es devuelto también, conteniendo una lista de servidores de nombre oficiales. </simpara> <example> <title>Uso de <function>dns_get_record</function> y DNS_ANY</title> <programlisting role="php"> <![CDATA[ <?php /* Solicitar "cualquier" registro para php.net, y crear las matrices $authns y $addtl conteniendo una lista de servidores de nombre y cualquier registro adicional que vaya con ellos */ $resultado = dns_get_record("php.net",DNS_ANY,$authns,$addtl); print "Resultado = "; print_r($resultado); print "Auth NS = "; print_r($authns); print "Adicional = "; print_r($addtl); ?> /* Produce una salida similar a la siguiente: ------------------------------------------ Resultado = Array ( [0] => Array ( [host] => php.net [type] => MX [pri] => 5 [target] => pair2.php.net [class] => IN [ttl] => 6765 ) [1] => Array ( [host] => php.net [type] => A [ip] => 64.246.30.37 [class] => IN [ttl] => 8125 ) ) Auth NS = Array ( [0] => Array ( [host] => php.net [type] => NS [target] => remote1.easydns.com [class] => IN [ttl] => 10722 ) [1] => Array ( [host] => php.net [type] => NS [target] => remote2.easydns.com [class] => IN [ttl] => 10722 ) [2] => Array ( [host] => php.net [type] => NS [target] => ns1.easydns.com [class] => IN [ttl] => 10722 ) [3] => Array ( [host] => php.net [type] => NS [target] => ns2.easydns.com [class] => IN [ttl] => 10722 ) ) Adicional = Array ( [0] => Array ( [host] => pair2.php.net [type] => A [ip] => 216.92.131.5 [class] => IN [ttl] => 6766 ) [1] => Array ( [host] => remote1.easydns.com [type] => A [ip] => 64.39.29.212 [class] => IN [ttl] => 100384 ) [2] => Array ( [host] => remote2.easydns.com [type] => A [ip] => 212.100.224.80 [class] => IN [ttl] => 81241 ) [3] => Array ( [host] => ns1.easydns.com [type] => A [ip] => 216.220.40.243 [class] => IN [ttl] => 81241 ) [4] => Array ( [host] => ns2.easydns.com [type] => A [ip] => 216.220.40.244 [class] => IN [ttl] => 81241 ) ) */ ]]> </programlisting> </example> <simpara> Vea también <function>dns_get_mx</function>, y <function>dns_check_record</function> </simpara> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/ip2long.xml +++ phpdoc-es/reference/network/functions/ip2long.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.18 --> <refentry id="function.ip2long"> <refnamediv> <refname>ip2long</refname> <refpurpose> Convierte una cadena que contiene una dirección con puntos del Protocolo de Internet (IPv4) en una dirección apropiada. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>ip2long</methodname> <methodparam><type>string</type><parameter>direccion_ip</parameter></methodparam> </methodsynopsis> <para> La función <function>ip2long</function> genera una dirección de red Internet IPv4 desde su representación en formato estándar de Internet (cadena con puntos). Si <parameter>direccion_ip</parameter> es inválida, entonces se devuelve <literal>-1</literal>. Note que <literal>-1</literal> no evalúa a &false; en PHP. <example> <title>Ejemplo de <function>ip2long</function></title> <programlisting role="php"> <![CDATA[ <?php $ip = gethostbyname("www.example.com"); $salida = "Las siguientes URLs son equivalentes:<br>\n"; $salida .= "http://www.example.com/, http://".$ip."/, y http://".sprintf("%u",ip2long($ip))."/<br>\n"; echo $salida; ?> ]]> </programlisting> </example> <note> <para> Ya que el tipo entero de PHP tiene signo, y muchas direcciones IP resultarán en enteros negativos, necesita usar el especificador de formato "%u" de <function>sprintf</function> o <function>printf</function> para obtener la representación de cadena de la dirección IP sin signo. </para> </note> Este segundo ejemplo muestra cómo imprimir una dirección convertida con la función <function>printf</function>: <example> <title>Desplegar una dirección IP</title> <programlisting role="php"> <![CDATA[ <?php $ip = gethostbyname("www.example.com"); $long = ip2long($ip); if ($long === -1) { print "IP inválida, por favor intente de nuevo"; } else { print $ip . "\n"; // 192.0.34.166 print $long . "\n"; // -1073732954 printf("%u\n", ip2long($ip)); // 3221234342 } ?> ]]> </programlisting> </example> </para> <note> <para> <function>ip2long</function> devolverá <literal>-1</literal> para la ip 255.255.255.255 </para> </note> <para> Vea también <function>long2ip</function> y <function>sprintf</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/long2ip.xml +++ phpdoc-es/reference/network/functions/long2ip.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.18 --> <refentry id="function.long2ip"> <refnamediv> <refname>long2ip</refname> <refpurpose> Convierte una dirección de red Internet (IPv4) a una cadena en formato estándar de Internet con puntos </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>long2ip</methodname> <methodparam><type>int</type><parameter>direccion_apropiada</parameter></methodparam> </methodsynopsis> <para> La función <function>long2ip</function> genera una dirección de Internet en formato con puntos (esto quiere decir: aaa.bbb.ccc.ddd) a partir de su representación apropiada de dirección. </para> <para> Vea también: <function>ip2long</function> </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/socket-get-status.xml +++ phpdoc-es/reference/network/functions/socket-get-status.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.24 --> <refentry id="function.socket-get-status"> <refnamediv> <refname>socket_get_status</refname> <refpurpose> Alias de <function>stream_get_meta_data</function>. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <para> Esta función es un alias de <function>stream_get_meta_data</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/socket-set-blocking.xml +++ phpdoc-es/reference/network/functions/socket-set-blocking.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.2 --> <refentry id="function.socket-set-blocking"> <refnamediv> <refname>socket_set_blocking</refname> <refpurpose>Alias de <function>stream_set_blocking</function></refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <para> Esta función es un alias de <function>stream_set_blocking</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/socket-set-timeout.xml +++ phpdoc-es/reference/network/functions/socket-set-timeout.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.18 --> <refentry id="function.socket-set-timeout"> <refnamediv> <refname>socket_set_timeout</refname> <refpurpose>Alias de <function>stream_set_timeout</function></refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <para> <function>socket_set_timeout</function> es un alias de <function>stream_set_timeout</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 -->
Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.95 phpdoc-es/translation.xml:1.96 --- phpdoc-es/translation.xml:1.95 Thu Dec 4 03:56:39 2003 +++ phpdoc-es/translation.xml Fri Dec 5 01:00:10 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.95 $ --> +<!-- $Revision: 1.96 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -45,16 +45,16 @@ <file name="reference/errorfunc/functions/set-error-handler.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/trigger-error.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/user-error.xml" person="javi" type="translation" date="01.12.2003"/> -<file name="reference/network/constants.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/ini.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/define-syslog-variables.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/dns-check-record.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/dns-get-mx.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/dns-get-record.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/ip2long.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/long2ip.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/socket-get-status.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/socket-set-blocking.xml" person="lboshell" type="translation" date="04.12.2003"/> -<file name="reference/network/functions/socket-set-timeout.xml" person="lboshell" type="translation" date="04.12.2003"/> +<file name="reference/http/functions/headers-list.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/readline/configure.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/configure.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/constants.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/ini.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/functions/session-regenerate-id.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/session/functions/session-register.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/url/functions/get-meta-tags.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/url/functions/http-build-query.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/url/functions/rawurldecode.xml" person="lboshell" type="translation" date="05.12.2003"/> +<file name="reference/url/functions/rawurlencode.xml" person="lboshell" type="translation" date="05.12.2003"/> </work-in-progress> </translation> Index: phpdoc-es/reference/network/constants.xml +++ phpdoc-es/reference/network/constants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <section id="network.constants"> &reftitle.constants; &extension.constants.core; <table> <title>Opciones de <function>openlog</function></title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>LOG_CONS</entry> <entry> si hay un error durante el envío de datos al registro del sistema, escribir directamente a la consola de sistema </entry> </row> <row> <entry>LOG_NDELAY</entry> <entry> abrir la conexión con el registro inmediatamente </entry> </row> <row> <entry>LOG_ODELAY</entry> <entry> (predeterminado) retrasar la apertura de conexión hasta que el primer mensaje sea registrado </entry> </row> <row> <entry>LOG_NOWAIT</entry> <entry> </entry> </row> <row> <entry>LOG_PERROR</entry> <entry>imprimir mensajes de registro también en stderr</entry> </row> <row> <entry>LOG_PID</entry> <entry>incluir PID con cada mensaje</entry> </row> </tbody> </tgroup> </table> <table> <title>Facilidades de <function>openlog</function></title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>LOG_AUTH</entry> <entry> mensajes de seguridad/autorización (usar LOG_AUTHPRIV en su lugar en sistemas en donde tal constante está definida) </entry> </row> <row> <entry>LOG_AUTHPRIV</entry> <entry>mensajes de seguridad/autorización (privados)</entry> </row> <row> <entry>LOG_CRON</entry> <entry>daemonio de reloj (cron y at)</entry> </row> <row> <entry>LOG_DAEMON</entry> <entry>otros daemonios de sistema</entry> </row> <row> <entry>LOG_KERN</entry> <entry>mensajes de kernel</entry> </row> <row> <entry>LOG_LOCAL0 ... LOG_LOCAL7</entry> <entry>reservadas para uso local, no están disponibles en Windows</entry> </row> <row> <entry>LOG_LPR</entry> <entry>subsistema de impresión de línea</entry> </row> <row> <entry>LOG_MAIL</entry> <entry>subsistema de correo</entry> </row> <row> <entry>LOG_NEWS</entry> <entry>subsistema de noticias USENET</entry> </row> <row> <entry>LOG_SYSLOG</entry> <entry>mensajes generados internamente por syslogd</entry> </row> <row> <entry>LOG_USER</entry> <entry>mensajes genéricos de nivel de usuario</entry> </row> <row> <entry>LOG_UUCP</entry> <entry>subsistema UUCP</entry> </row> </tbody> </tgroup> </table> <table> <title>Prioridades de <function>syslog</function> (en orden descendiente)</title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>LOG_EMERG</entry> <entry>el sistema es inutilizable</entry> </row> <row> <entry>LOG_ALERT</entry> <entry>debe tomarse una acción inmediatamente</entry> </row> <row> <entry>LOG_CRIT</entry> <entry>condiciones críticas</entry> </row> <row> <entry>LOG_ERR</entry> <entry>condiciones de error</entry> </row> <row> <entry>LOG_WARNING</entry> <entry>condiciones de advertencia</entry> </row> <row> <entry>LOG_NOTICE</entry> <entry>condición normal, pero significativa</entry> </row> <row> <entry>LOG_INFO</entry> <entry>mensaje informativo</entry> </row> <row> <entry>LOG_DEBUG</entry> <entry>mensaje de nivel de depuración</entry> </row> </tbody> </tgroup> </table> <table> <title>Opciones de <function>dns_get_record</function></title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>DNS_A</entry> <entry>Recurso de Dirección IPv4</entry> </row> <row> <entry>DNS_MX</entry> <entry>Recurso de Intercambio de Correo</entry> </row> <row> <entry>DNS_CNAME</entry> <entry>Recurso Alias (Nombre Canónico)</entry> </row> <row> <entry>DNS_NS</entry> <entry>Recurso de Autoridad de Servidor de Nombres</entry> </row> <row> <entry>DNS_PTR</entry> <entry>Recurso de Apuntador</entry> </row> <row> <entry>DNS_HINFO</entry> <entry>Recurso de Información de Host (Vea los <ulink url="&url.iana.system-names;">Nombres de Sistemas Operativos</ulink> de IANA para consultar el significado de estos valores)</entry> </row> <row> <entry>DNS_SOA</entry> <entry>Comienzo de Recurso de Autoridad</entry> </row> <row> <entry>DNS_TXT</entry> <entry>Recurso de Texto</entry> </row> <row> <entry>DNS_ANY</entry> <entry>Cualquier Registro de Recurso. En la mayoría de sistemas, éste valor devuelve todos los registros de recurso, sin embargo, no debería confiarse en él para usos críticos. Pruebe con DNS_ALL en su lugar.</entry> </row> <row> <entry>DNS_AAAA</entry> <entry>Recurso de Dirección IPv6</entry> </row> <row> <entry>DNS_ALL</entry> <entry>Consultar el nombre de servidor iterativamente para cada tipo de registro disponible.</entry> </row> </tbody> </tgroup> </table> </section> <!-- 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:"../../../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 --> Index: phpdoc-es/reference/network/ini.xml +++ phpdoc-es/reference/network/ini.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <section id="network.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> <title>Opciones de Configuración de Red</title> <tgroup cols="3"> <thead> <row> <entry>Nombre</entry> <entry>Predeterminado</entry> <entry>Modificable</entry> </row> </thead> <tbody> <row> <entry>define_syslog_variables</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> </row> </tbody> </tgroup> </table> Para más detalles sobre las constantes PHP_INI_* y su definición, vea <function>ini_set</function>. </para> &ini.descriptions.title; <para> <variablelist> <varlistentry id="ini.define-syslog-variables"> <term> <parameter>define_syslog_variables</parameter> <type>boolean</type> </term> <listitem> <para> Indica si deben definirse las diferentes variables syslog (p.ej. $LOG_PID, $LOG_CRON, etc.). Deshabilitar este parámetro es una buena idea desde el punto de vista del rendimiento. En tiempo de ejecución, puede definir estas variables con un llamado a <function>define_syslog_variables</function>. </para> </listitem> </varlistentry> </variablelist> </para> </section> <!-- 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:"../../../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 --> Index: phpdoc-es/reference/network/functions/define-syslog-variables.xml +++ phpdoc-es/reference/network/functions/define-syslog-variables.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.20 --> <refentry id="function.define-syslog-variables"> <refnamediv> <refname>define_syslog_variables</refname> <refpurpose>Inicializa todas las constantes relacionadas con syslog</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>define_syslog_variables</methodname> <void/> </methodsynopsis> <para> Inicializa todas las constantes usadas en las funciones syslog. </para> <para> Vea también <function>openlog</function>, <function>syslog</function> y <function>closelog</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/dns-check-record.xml +++ phpdoc-es/reference/network/functions/dns-check-record.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.dns-check-record"> <refnamediv> <refname>dns_check_record</refname> <refpurpose>Sinónimo para <function>checkdnsrr</function></refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>dns_check_record</methodname> <methodparam><type>string</type><parameter>host</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>tipo</parameter></methodparam> </methodsynopsis> <para> Chequea los registros DNS correspondientes a un nombre de servidor huésped de Internet o dirección IP dada. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/dns-get-mx.xml +++ phpdoc-es/reference/network/functions/dns-get-mx.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.dns-get-mx"> <refnamediv> <refname>dns_get_mx</refname> <refpurpose>Sinónimo para <function>getmxrr</function></refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>dns_get_mx</methodname> <methodparam><type>string</type><parameter>nombre_host</parameter></methodparam> <methodparam><type>array</type><parameter>hosts_mx</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>&peso</parameter></methodparam> </methodsynopsis> <para> Obtener registros MX correspondientes a un nombre de servidor huésped de Internet dado. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/dns-get-record.xml +++ phpdoc-es/reference/network/functions/dns-get-record.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.16 Maintainer: lboshell Status: ready --> <refentry id="function.dns-get-record"> <refnamediv> <refname>dns_get_record</refname> <refpurpose> Recuperar Registros de Recursos DNS asociados con un nombre de servidor huésped </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>array</type><methodname>dns_get_record</methodname> <methodparam><type>string</type><parameter>nombre_host</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>tipo</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>&authns</parameter></methodparam> <methodparam><type>array</type><parameter>&addtl</parameter></methodparam> </methodsynopsis> <para> <note> <simpara> Esta función no está implementada en plataformas Windows. Pruebe con la clase <ulink url="&url.php.pear;">PEAR</ulink> <ulink url="&url.pear.package;Net_DNS">Net_DNS</ulink>. </simpara> </note> </para> <para> Esta función devuelve una matriz de matrices asociativas. Cada matriz asociativa contiene <emphasis>por lo menos</emphasis> las siguientes claves: <table> <title>Atributos DNS básicos</title> <tgroup cols="2"> <thead> <row> <entry>Atributo</entry> <entry>Significado</entry> </row> </thead> <tbody> <row> <entry>host</entry> <entry> El registro en el espacio de nombres DNS al que hacen referencia el resto de datos asociados. </entry> </row> <row> <entry>class</entry> <entry> <function>dns_get_record</function> devuelve únicamente registros de clase Internet y como tal, éste parámetro siempre devolverá <literal>IN</literal>. </entry> </row> <row> <entry>type</entry> <entry> Cadena que contiene el tipo de registro. Otros atributos adicionales serán contenidos también en la matriz resultante dependiendo del valor de type. Vea la tabla más adelante. </entry> </row> <row> <entry>ttl</entry> <entry> Valor Time To Live restante para este registro. Este <emphasis>no</emphasis> será igual al ttl original del registro, sino que será igual al ttl original menos cualquiera que haya sido la longitud de tiempo transcurrido desde que el servidor de nombres oficial fuera consultado. </entry> </row> </tbody> </tgroup> </table> </para> <simpara> <parameter>nombre_host</parameter> debe ser un nombre de servidor huésped DNS válido, como "www.example.com". Pueden generarse consultas revertidas usando la notación in-addr.arpa, pero <function>gethostbyaddr</function> es más apropiada para la mayoría de consultas revertidas. </simpara> <para> Por defecto, <function>dns_get_record</function> buscará por cualquier registro de recurso asociado con <parameter>nombre_host</parameter>. Para limitar la consulta, especifique el parámetro opcional <parameter>tipo</parameter>. <parameter>tipo</parameter> puede ser cualquiera de los siguientes: <constant>DNS_A</constant>, <constant>DNS_CNAME</constant>, <constant>DNS_HINFO</constant>, <constant>DNS_MX</constant>, <constant>DNS_NS</constant>, <constant>DNS_PTR</constant>, <constant>DNS_SOA</constant>, <constant>DNS_TXT</constant>, <constant>DNS_AAAA</constant>, <constant>DNS_SRV</constant>, <constant>DNS_NAPTR</constant>, <constant>DNS_ALL</constant> o <constant>DNS_ANY</constant>. El valor predeterminado es <emphasis>DNS_ANY</emphasis>. <note> <para> Debido a excentricidades en el rendimiento de libresolv entre plataformas, <constant>DNS_ANY</constant> no siempre devolverá todos los registros, la alternativa más lenta <constant>DNS_ALL</constant> recolectará todos los registros de forma más confiable. </para> </note> </para> <simpara> Los opcionales tercer y cuarto argumento de esta función, <parameter>authns</parameter> y <parameter>addtl</parameter> son pasados por referencia y, si son usados, serán llenados con Registros de Recurso para los <emphasis>Servidores de Nombres Oficiales</emphasis>, y cualquier <emphasis>Registro Adicional</emphasis> respectivamente. Vea el ejemplo más adelante. </simpara> <para> <table> <title>Otras claves en las matrices asociativas, dependientes de 'type'</title> <tgroup cols="2"> <thead> <row> <entry>Tipo</entry> <entry>Columnas Extra</entry> </row> </thead> <tbody> <row> <entry><literal>A</literal></entry> <entry> <literal>ip</literal>: Una dirección IPv4 en notación decimal con puntos. </entry> </row> <row> <entry><literal>MX</literal></entry> <entry> <literal>pri</literal>: Prioridad del gestor de correo. Números bás bajos indican mayor prioridad. <literal>target</literal>: FQDN del gestor de correo. Vea también <function>dns_get_mx</function>. </entry> </row> <row> <entry><literal>CNAME</literal></entry> <entry> <literal>target</literal>: FQDN de la ubicación en el espacio de nombres DNS de la cual es alias el registro. </entry> </row> <row> <entry><literal>NS</literal></entry> <entry> <literal>target</literal>: FQDN del servidor de nombres que es la autoridad para este nombre de host. </entry> </row> <row> <entry><literal>PTR</literal></entry> <entry> <literal>target</literal>: Ubicación dentro del espacio de nombres DNS a la que apunta este registro. </entry> </row> <row> <entry><literal>TXT</literal></entry> <entry> <literal>txt</literal>: Cadena de datos arbitraria asociada con este registro. </entry> </row> <row> <entry><literal>HINFO</literal></entry> <entry> <literal>cpu</literal>: Número IANA que indica el CPU de la máquina referenciada por este registro. <literal>os</literal>: Número IANA que indica el Sistema Operativo en la máquina referenciada por este registro. Vea los <ulink url="&url.iana.system-names;">Nombres de Sistemas Operativos</ulink> de IANA para consultar el significado de estos valores. </entry> </row> <row> <entry><literal>SOA</literal></entry> <entry> <literal>mname</literal>: FQDN de la máquina desde donde se originaron los registros de recurso. <literal>rname</literal>: Dirección de correo electrónico del contacto administrativo para este dominio. <literal>serial</literal>: # serial de esta revisión del dominio solicitado. <literal>refresh</literal>: Intervalo de actualización (segundos) que deben usar los servidores de nombre secundarios cuando actualicen las copias remotas de este dominio. <literal>retry</literal>: Periodo de tiempo (segundos) para esperar después de una actualización fallida antes de hacer un segundo intento. <literal>expire</literal>: Periodo máximo de tiempo (segundos) que un servidor DNS secundario debe conservar copias remotas de los datos de zona sin una actualización exitosa antes de descartarlos. <literal>minimum-ttl</literal>: Periodo mínimo de tiempo (segundos) en el que un cliente puede continuar usando una resolución DNS antes de que deba solicitar una nueva resolución del servidor. Puede ser sobrescrito por registros de recurso individuales. </entry> </row> <row> <entry><literal>AAAA</literal></entry> <entry> <literal>ipv6</literal>: Dirección IPv6 </entry> </row> <row> <entry><literal>SRV</literal></entry> <entry> <literal>pri</literal>: (Prioridad) las prioridades más bajas deben ser usadas primero. <literal>weight</literal>: Rangos para pesar cuál de los <parameter>destinos</parameter> comunmente con prioridades debe ser elegido al azar. <literal>target</literal> y <literal>port</literal>: nombre de servidor huésped y puerto en dondo puede encontrarse el servicio solicitado. Para más información, vea: <ulink url="&url.rfc;2782">RFC 2782</ulink> </entry> </row> <row> <entry><literal>NAPTR</literal></entry> <entry> <literal>order</literal> y <literal>pref</literal>: Equivalente a <parameter>pri</parameter> y <parameter>weight</parameter> descritos anteriormente. <literal>flags</literal>, <literal>services</literal>, <literal>regex</literal>, y <literal>replacement</literal>: Parámetros, como se definen por <ulink url="&url.rfc;2915">RFC 2915</ulink>. </entry> </row> </tbody> </tgroup> </table> </para> <para> <note> <para> Debido a estándares DNS, las direcciones de correo electrónico son dadas en formato usuario.host (por ejemplo: hostmaster.example.com en lugar de hostmaster@example.com), asegúrese de chequear este valor y modificarlo si es necesario antes de usarlo con funciones como <function>mail</function>. </para> </note> </para> <example> <title>Uso de <function>dns_get_record</function></title> <programlisting role="php"> <![CDATA[ <?php $resultado = dns_get_record("php.net"); print_r($resultado); ?> /* Produce una salida similar a la siguiente: ------------------------------------------ Array ( [0] => Array ( [host] => php.net [type] => MX [pri] => 5 [target] => pair2.php.net [class] => IN [ttl] => 6765 ) [1] => Array ( [host] => php.net [type] => A [ip] => 64.246.30.37 [class] => IN [ttl] => 8125 ) ) */ ]]> </programlisting> </example> <simpara> Ya que es muy común desear la dirección IP de un servidor de correo una vez el registro MX ha sido resuelto, <function>dns_get_record</function> también devuelve una matriz en <parameter>addtl</parameter> la cual contiene registros asociados. <parameter>authns</parameter> es devuelto también, conteniendo una lista de servidores de nombre oficiales. </simpara> <example> <title>Uso de <function>dns_get_record</function> y DNS_ANY</title> <programlisting role="php"> <![CDATA[ <?php /* Solicitar "cualquier" registro para php.net, y crear las matrices $authns y $addtl conteniendo una lista de servidores de nombre y cualquier registro adicional que vaya con ellos */ $resultado = dns_get_record("php.net",DNS_ANY,$authns,$addtl); print "Resultado = "; print_r($resultado); print "Auth NS = "; print_r($authns); print "Adicional = "; print_r($addtl); ?> /* Produce una salida similar a la siguiente: ------------------------------------------ Resultado = Array ( [0] => Array ( [host] => php.net [type] => MX [pri] => 5 [target] => pair2.php.net [class] => IN [ttl] => 6765 ) [1] => Array ( [host] => php.net [type] => A [ip] => 64.246.30.37 [class] => IN [ttl] => 8125 ) ) Auth NS = Array ( [0] => Array ( [host] => php.net [type] => NS [target] => remote1.easydns.com [class] => IN [ttl] => 10722 ) [1] => Array ( [host] => php.net [type] => NS [target] => remote2.easydns.com [class] => IN [ttl] => 10722 ) [2] => Array ( [host] => php.net [type] => NS [target] => ns1.easydns.com [class] => IN [ttl] => 10722 ) [3] => Array ( [host] => php.net [type] => NS [target] => ns2.easydns.com [class] => IN [ttl] => 10722 ) ) Adicional = Array ( [0] => Array ( [host] => pair2.php.net [type] => A [ip] => 216.92.131.5 [class] => IN [ttl] => 6766 ) [1] => Array ( [host] => remote1.easydns.com [type] => A [ip] => 64.39.29.212 [class] => IN [ttl] => 100384 ) [2] => Array ( [host] => remote2.easydns.com [type] => A [ip] => 212.100.224.80 [class] => IN [ttl] => 81241 ) [3] => Array ( [host] => ns1.easydns.com [type] => A [ip] => 216.220.40.243 [class] => IN [ttl] => 81241 ) [4] => Array ( [host] => ns2.easydns.com [type] => A [ip] => 216.220.40.244 [class] => IN [ttl] => 81241 ) ) */ ]]> </programlisting> </example> <simpara> Vea también <function>dns_get_mx</function>, y <function>dns_check_record</function> </simpara> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/ip2long.xml +++ phpdoc-es/reference/network/functions/ip2long.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.18 --> <refentry id="function.ip2long"> <refnamediv> <refname>ip2long</refname> <refpurpose> Convierte una cadena que contiene una dirección con puntos del Protocolo de Internet (IPv4) en una dirección apropiada. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>ip2long</methodname> <methodparam><type>string</type><parameter>direccion_ip</parameter></methodparam> </methodsynopsis> <para> La función <function>ip2long</function> genera una dirección de red Internet IPv4 desde su representación en formato estándar de Internet (cadena con puntos). Si <parameter>direccion_ip</parameter> es inválida, entonces se devuelve <literal>-1</literal>. Note que <literal>-1</literal> no evalúa a &false; en PHP. <example> <title>Ejemplo de <function>ip2long</function></title> <programlisting role="php"> <![CDATA[ <?php $ip = gethostbyname("www.example.com"); $salida = "Las siguientes URLs son equivalentes:<br>\n"; $salida .= "http://www.example.com/, http://".$ip."/, y http://".sprintf("%u",ip2long($ip))."/<br>\n"; echo $salida; ?> ]]> </programlisting> </example> <note> <para> Ya que el tipo entero de PHP tiene signo, y muchas direcciones IP resultarán en enteros negativos, necesita usar el especificador de formato "%u" de <function>sprintf</function> o <function>printf</function> para obtener la representación de cadena de la dirección IP sin signo. </para> </note> Este segundo ejemplo muestra cómo imprimir una dirección convertida con la función <function>printf</function>: <example> <title>Desplegar una dirección IP</title> <programlisting role="php"> <![CDATA[ <?php $ip = gethostbyname("www.example.com"); $long = ip2long($ip); if ($long === -1) { print "IP inválida, por favor intente de nuevo"; } else { print $ip . "\n"; // 192.0.34.166 print $long . "\n"; // -1073732954 printf("%u\n", ip2long($ip)); // 3221234342 } ?> ]]> </programlisting> </example> </para> <note> <para> <function>ip2long</function> devolverá <literal>-1</literal> para la ip 255.255.255.255 </para> </note> <para> Vea también <function>long2ip</function> y <function>sprintf</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/long2ip.xml +++ phpdoc-es/reference/network/functions/long2ip.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.18 --> <refentry id="function.long2ip"> <refnamediv> <refname>long2ip</refname> <refpurpose> Convierte una dirección de red Internet (IPv4) a una cadena en formato estándar de Internet con puntos </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>long2ip</methodname> <methodparam><type>int</type><parameter>direccion_apropiada</parameter></methodparam> </methodsynopsis> <para> La función <function>long2ip</function> genera una dirección de Internet en formato con puntos (esto quiere decir: aaa.bbb.ccc.ddd) a partir de su representación apropiada de dirección. </para> <para> Vea también: <function>ip2long</function> </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/socket-get-status.xml +++ phpdoc-es/reference/network/functions/socket-get-status.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.24 --> <refentry id="function.socket-get-status"> <refnamediv> <refname>socket_get_status</refname> <refpurpose> Alias de <function>stream_get_meta_data</function>. </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <para> Esta función es un alias de <function>stream_get_meta_data</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/socket-set-blocking.xml +++ phpdoc-es/reference/network/functions/socket-set-blocking.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.2 --> <refentry id="function.socket-set-blocking"> <refnamediv> <refname>socket_set_blocking</refname> <refpurpose>Alias de <function>stream_set_blocking</function></refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <para> Esta función es un alias de <function>stream_set_blocking</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> Index: phpdoc-es/reference/network/functions/socket-set-timeout.xml +++ phpdoc-es/reference/network/functions/socket-set-timeout.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.18 --> <refentry id="function.socket-set-timeout"> <refnamediv> <refname>socket_set_timeout</refname> <refpurpose>Alias de <function>stream_set_timeout</function></refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <para> <function>socket_set_timeout</function> es un alias de <function>stream_set_timeout</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 -->