Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
function::sock_prot_str2num
Name
function::sock_prot_str2num — Given a protocol name (string), return the corresponding protocol number.
Synopsis
function sock_prot_str2num:long(proto:string)
Arguments
proto
- The protocol name.