|Do you know where your variables are?|
Service: port to nameby carric (Beadle)
|on Mar 21, 2004 at 18:02 UTC||Need Help??|
carric has asked for the
wisdom of the Perl Monks concerning the following question:
I have been looking through the nodes for some mention of this, and I can't seem to find one.
I want to be able to translate a list of port numbers into their respective service names. e.g.:
Anyone know how to do this? Thanks in advance!!
The function I was looking for appears to be getsrvbyport(), but the docs are a bit sparse.