Menu Samaritan's Purse

GETPROTOBYNAME

Get protocol number associated with protocol name

SYNTAX

getprotobyname ( string $name ) : int

PARAMETERS

name

The protocol name.

RETURN

Returns the protocol number, or FALSE on failure.

EXAMPLES

6

PHP