note 10660 added to getservbyport
| From: | q9603062 at topaz dot cqu dot edu dot au | Date: | Tue, 16 Jan 2001 07:28:18 +0000 |
| Subject: | note 10660 added to getservbyport | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9830@lists.php.net to get a copy of this message | ||
Like the previous post of palands, the protcol tcp must be in lower case, either quoted or
unquoted..
Example:
$value=getservbyport(31337, tcp);
or
$value=getservbyport(31337, "tcp");
Uppercase, quoted or unquoted will not work.
http://www.php.net/manual/en/function.getservbyport.php