1
0
mirror of https://github.com/php/doc-es.git synced 2026-04-23 15:18:07 +02:00
Files
archived-doc-es/reference/network/functions/getprotobynumber.xml
T
Yago Ferrer fb445a52c6 updated to the most recent version.
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@302712 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-23 14:37:22 +00:00

77 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: dbc2efc40cacdf56d1d36b80a32e64413f64644a Maintainer: yago Status: ready -->
<refentry xml:id="function.getprotobynumber" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>getprotobynumber</refname>
<refpurpose>Obtiene el nombre de protocolo asociado con un número de protocolo</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>getprotobynumber</methodname>
<methodparam><type>int</type><parameter>number</parameter></methodparam>
</methodsynopsis>
<para>
<function>getprotobynumber</function> devuelve el nombre de protocolo
asociado con el <parameter>numero</parameter> de procotolo, como lo
indica <filename>/etc/protocols</filename>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>number</parameter></term>
<listitem>
<para>
El número del protocolo.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Devuelve el nombre del protocolo como una cadena, &return.falseforfailure;.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>getprotobyname</function></member>
</simplelist>
</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:"~/.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
-->