Приглашаем посетить
Литература (lit-info.ru)

[Chapter 3] 3.2.58 getprotobyname

PreviousChapter 3
Functions
Next
 

3.2.58 getprotobyname

getprotobyname NAME

This function does the same thing as getprotobyname(3): it 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.


PreviousHomeNext
3.2.57 getpriorityBook Index3.2.59 getprotobynumber