From ae63d481ed6ba40b1c775049ce38f30df11fb591 Mon Sep 17 00:00:00 2001 From: Sander Roobol Date: Wed, 13 Mar 2002 19:18:30 +0000 Subject: [PATCH] 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 --- functions/network.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/functions/network.xml b/functions/network.xml index 0e384a8100..2fdfbe4532 100644 --- a/functions/network.xml +++ b/functions/network.xml @@ -1,5 +1,5 @@ - + Network Functions Network @@ -420,8 +420,8 @@ if (!$fp) { which corresponds to service for the specified protocol as per /etc/services. - protocol is either TCP - or UDP. + protocol is either "tcp" + or "udp" (in lowercase). See also: getservbyport. @@ -447,8 +447,8 @@ if (!$fp) { getservbyport returns the Internet service associated with port for the specified protocol as per /etc/services. - protocol is either TCP - or UDP. + protocol is either "tcp" + or "udp" (in lowercase). See also: getservbyname.