|
-
Aug 18th, 2017, 12:38 PM
#12
Fanatic Member
Re: multiple range checking algorithm vb6
 Originally Posted by dilettante
256 * 256 * 256 * 256 / 8 = 536,870,912 is a pretty big table.
You can probably drop the 0 and 255 values of course, and there is a smaller set of subnets than this to consider... but the table will still get darned big.
Trying to store as Boolean instead of packing bits it becomes massive, potentially too large to use at all.
IP lists that do not have IP address level resolution are not IP lists. What you have is at best a subnet list unless you consider all 32 bits.
He is trying to point if inside USA or outside of USA..
None company in the world, woud have a "part" of the fourth element in the IP. NONE!
Companies are given whole 256 ranges.
If not whole 65536 ranges. (ISPs). As it is like the routing works in Internet. Other way tables at routing would be huge, and slow.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|