Perl Programming/Keywords/gethostbyname

Previous: gethostbyaddr Keywords Next: gethostent

The gethostbyname keyword

edit

The gethostbyname function gets the group record given its NAME.

Syntax

edit
  gethostbyname NAME
Previous: gethostbyaddr Keywords Next: gethostent