getprotobyname

PHP 4, PHP 5, PHP 7, PHP 8
getprotobyname - Get protocol number associated with protocol name
Manual
Code Examples

Example #1 getprotobyname example

PHP Version: