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

[Chapter 3] 3.2.59 getprotobynumber

PreviousChapter 3
Functions
Next
 

3.2.59 getprotobynumber

getprotobynumber NUMBER

This function does the same thing as getprotobynumber(3): it translates a protocol number to its corresponding name. The return value in list context is:

($name, $aliases, $protocol_number)

In scalar context, getprotobynumber returns only the protocol name.


PreviousHomeNext
3.2.58 getprotobynameBook Index3.2.60 getprotoent