February 2012
Intermediate to advanced
1184 pages
37h 17m
English
getprotobyname NAMEThis function translates a protocol name to its corresponding number. The return value in list context is:
($name, $aliases, $protocol_number) = getprotobyname("tcp");When called in scalar context, getprotobyname returns only the protocol
number. The Net::proto module supports a by-name interface to this function. See
getprotobyname(3).
Read now
Unlock full access