If you want to use strings for IP addresses, bitwise string operators may be of help if you need to mask out the subnet with the netmask value for the range.
In reply to Re: Storing and searching sets of IP address ranges
by hexcoder
in thread Storing and searching sets of IP address ranges
by acferen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |