function::sock_prot_str2num(3) Given a protocol name (string), return the corresponding protocol number

SYNOPSIS


sock_prot_str2num:long(proto:string)

ARGUMENTS

proto

The protocol name