Perl Programming/Keywords/getservbyport

Previous: getservbyname Keywords Next: getservent

The getservbyport keyword

edit

The getservbyport function gets the service record given its numeric PORT and PROTOCOL.

Syntax

edit
  getservbyport PORT, PROTOCOL
Previous: getservbyname Keywords Next: getservent