In list context, each of these routines returns a list of values. Use the standard module Net::protoent for by-name access to the elements of the list:
Index
Name
Description
0
name
Protocol name
1
aliases
Alias names
2
proto
Protocol number
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.