Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

Method NetUtils.IpRangeLookup()->lookup()


Method lookup

mixed lookup(int|string ipstr)

Description

Looks up an IP address and returns the associated information, if any.

Parameter ipstr

The IP address in string or binary form.

Returns

The information associated with the most-specific IP range matching ipstr.