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

Programming Perl

Programming PerlSearch this book
Previous: 3.2.51 getnetbyaddrChapter 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 getnetbyaddrProgramming PerlNext: 3.2.53 getnetent
3.2.51 getnetbyaddrBook Index3.2.53 getnetent