Display the text box

getservbyport()

« getservbyname | gettimeofday »
<?php
$string 
getservbyport (
    
// int $port
    
  // string $protocol
);
?>
Result
$string = 'http'
Examples
#1 getservbyport  (80,
 
"tcp")
See also
getservbyname