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
tcp22: ssh
tcp23: telnet
udp53: named
etc...
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.
In reply to Service: port to name by carric
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |