laziness, impatience, and hubris | |
PerlMonks |
Service: port to nameby carric (Beadle) |
on Mar 21, 2004 at 18:02 UTC ( [id://338489]=perlquestion: print w/replies, xml ) | Need Help?? |
carric has asked for the wisdom of the Perl Monks concerning the following question: Gentlemen, 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.:
tcp21: ftp Anyone know how to do this? Thanks in advance!! ***UPDATE*** The function I was looking for appears to be getsrvbyport(), but the docs are a bit sparse.
Back to
Seekers of Perl Wisdom
|
|