The isInNet()() function enables you to resolve a URL host name to an IP address and test whether it belongs to the subnet specified by the mask. This is the same type of IP address pattern matching that SOCKS uses. See Example 4: Connect Directly to a Subnet.
host is a DNS host name or IP address. If a host name is passed, this function will resolve it into an IP address.
pattern is an IP address pattern in the dot-separated format
mask is the IP address pattern mask that determines which parts of the IP address should be matched against. A value of 0 means ignore; 255 means match. This function is true if the IP address of the host matches the specified IP address pattern.
true or false
This statement is true only if the IP address of the host matches exactly 220.127.116.11 exactly:
isInNet(host, "18.104.22.168", "255.255.255.255")
This statement is true only if the IP address of the host matches 198.95.*.*: isInNet(host, "22.214.171.124", "255.255.0.0")