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

Programming Perl

Programming PerlSearch this book
Previous: 3.2.51 getnetbyaddr Chapter 3
Functions
Next: 3.2.53 getnetent
 

3.2.52 getnetbyname

getnetbyname 

NAME

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

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

In scalar context, getnetbyname returns only the network address.


Previous: 3.2.51 getnetbyaddr Programming Perl Next: 3.2.53 getnetent
3.2.51 getnetbyaddr Book Index 3.2.53 getnetent