July 2002
Beginner to intermediate
96 pages
1h 53m
English
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 |
Ends lookup processing.
Gets information by protocol name. In scalar context, returns the protocol number.
Gets information by protocol number. In scalar context, returns the name of the protocol.
Gets next protocol information. In scalar context, returns the name of the protocol.
Resets lookup processing.
Read now
Unlock full access