February 2012
Intermediate to advanced
1184 pages
37h 17m
English
getnetbyaddrADDR,ADDRTYPE
This function translates a network address to the corresponding network name or names. The return value in list context is:
use Socket; ($name, $aliases, $addrtype, $net) = getnetbyaddr(127, AF_INET);
In scalar context, getnetbyaddr
returns only the network name. The Net::netent module supports a by-name interface to this function. See
getnetbyaddr(3).
Read now
Unlock full access