mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Made parameter 'protocol' of getservbyport() and getservbyname() a bit
more clear (at least, I hope so :) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@73182 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
61a0d43cd0
commit
ae63d481ed
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.58 $ -->
|
||||
<!-- $Revision: 1.59 $ -->
|
||||
<reference id="ref.network">
|
||||
<title>Network Functions</title>
|
||||
<titleabbrev>Network</titleabbrev>
|
||||
|
@ -420,8 +420,8 @@ if (!$fp) {
|
|||
which corresponds to <parameter>service</parameter> for the
|
||||
specified <parameter>protocol</parameter> as per
|
||||
<filename>/etc/services</filename>.
|
||||
<parameter>protocol</parameter> is either <literal>TCP</literal>
|
||||
or <literal>UDP</literal>.
|
||||
<parameter>protocol</parameter> is either <literal>"tcp"</literal>
|
||||
or <literal>"udp"</literal> (in lowercase).
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>getservbyport</function>.
|
||||
|
@ -447,8 +447,8 @@ if (!$fp) {
|
|||
<function>getservbyport</function> returns the Internet service
|
||||
associated with <parameter>port</parameter> for the specified
|
||||
<parameter>protocol</parameter> as per <filename>/etc/services</filename>.
|
||||
<parameter>protocol</parameter> is either <literal>TCP</literal>
|
||||
or <literal>UDP</literal>.
|
||||
<parameter>protocol</parameter> is either <literal>"tcp"</literal>
|
||||
or <literal>"udp"</literal> (in lowercase).
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>getservbyname</function>.
|
||||
|
|
Loading…
Reference in a new issue