home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


getnetbyname

getnetbyname 
name

Retrieves the network address of a network name . The return value in list context is:

($name, $aliases, $addrtype, $net)
In scalar context, getnetbyname returns only the network address.