int getprotobyname ( string $name )
getprotobyname() returns the protocol number associated with the protocol name as per /etc/protocols.
Returns the protocol number or -1 if the protocol is not found.