Re: getservbyname
| From: | Richard Lynch | Date: | Mon, 22 Jul 2002 23:35:34 +0000 |
| Subject: | Re: getservbyname | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-108980@lists.php.net to get a copy of this message | ||
>getservbyname takes in the following arguments:
>
>getservbyname(string service, string protocol);
>
>is the parameter service similar to those diefined under
>unix's /etc/services file or is there something else
>to it?
Just based on the docs, I'd have to say you simply have to have a "match"
for what's in /etc/services
Of course, if you're on Windows, only God knows what's going to happen with
this one...
Try it and see.
--
Like Music? http://l-i-e.com/artists.htm