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