Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: getpriorityChapter 5
Function Reference
Next: Reference: getprotobynumber


getprotobyname name

Translates a protocol name to its corresponding number. The return value in list context is:

($name, $aliases, $protocol_number)
In scalar context, getprotobyname returns only the protocol number.

Previous: Reference: getpriorityPerl in a NutshellNext: Reference: getprotobynumber
Reference: getpriorityBook IndexReference: getprotobynumber