Method NetUtils.NetMask()->ip_in()
- Method
ip_in
boolip_in(int|stringip)- Description
Match an IP number against the mask.
- Returns
true if the
ipis in the network, false otherwise.- Parameter
ip The IP address to check, in either string or binary representation.