• PHP Video Tutorials

PHP - Function getprotobyname



Syntax

int getprotobyname ( string $name )

Definition and Usage

It is used to get protocol number which has associated with protocol name

Return Values

It returns protocol number or else failure on False condition

Parameters

Sr.No Parameters & Description
1

name

It contains protocol name

php_function_reference.htm
Advertisements