(PHP 4 >= 4.0.0)
int getprotobyname (string name)
int getprotobyname
getprotobyname() returns the protocol number associated with the protocol name as per /etc/protocols.
See also: getprotobynumber().