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