(PHP4 >= 4.0b4)
int getprotobyname (string name)
int getprotobyname
Getprotobyname() returns the protocol number associated with the protocol name as per /etc/protocols.
See also: getprotobynumber().