Jump to content

Perl Programming/Keywords/getservbyname

From Wikibooks, open books for an open world
Previous: getpwuid Keywords Next: getservbyport

The getservbyname keyword

[edit | edit source]

The getservbyname function gets the service record given its NAME and PROTOCOL.

Syntax

[edit | edit source]
  getservbyname NAME, PROTOCOL
Previous: getpwuid Keywords Next: getservbyport