getprotobyname Get protocol number associated with protocol name &reftitle.description; intgetprotobyname stringname getprotobyname returns the protocol number associated with the protocol name as per /etc/protocols. &reftitle.parameters; name The protocol name. &reftitle.returnvalues; Returns the protocol number, &return.falseforfailure;. &reftitle.examples; <function>getprotobyname</function> example ]]> &reftitle.seealso; getprotobynumber