Perl Programming/Keywords/getservbyport
Appearance
The getservbyport keyword
[edit | edit source]The getservbyport function gets the service record given its numeric PORT and PROTOCOL.
Syntax
[edit | edit source] getservbyport PORT, PROTOCOL