getservbyname

  • (PHP 4, PHP 5, PHP 7)
  • Get port number associated with an Internet service and protocol