note 9890 added to getservbyport
| From: | paland at stetson dot edu | Date: | Wed, 29 Nov 2000 21:00:00 +0000 |
| Subject: | note 9890 added to getservbyport | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8274@lists.php.net to get a copy of this message | ||
Example:
$value=getservbyport(137, udp);
"udp" will also work. UDP and "UDP" do not.
The same goes for getservbyname()
http://www.php.net/manual/function.getservbyport.php