start page | rating of books | rating of authors | reviews | copyrights

Programming Perl

Programming PerlSearch this book
Previous: 3.2.50 getlogin Chapter 3
Functions
Next: 3.2.52 getnetbyname
 

3.2.51 getnetbyaddr

getnetbyaddr 

ADDR

, 

ADDRTYPE

This function does the same thing as getnetbyaddr (3): it translates a network address to the corresponding network name or names. The return value in list context is:

($name, $aliases, $addrtype, $net)

In scalar context, getnetbyaddr returns only the network name.


Previous: 3.2.50 getlogin Programming Perl Next: 3.2.52 getnetbyname
3.2.50 getlogin Book Index 3.2.52 getnetbyname