4 Reusable Code Snippet Topics

Remove Filter
Member Avatar for
Member Avatar for andrewll2

This snippet converts a CIDR notated IP address to a range of IP addresses in decimal, dotted notation. Eg.: 192.168.1.255/31 => 192.168.1.254 - 192.168.1.255

Member Avatar for JamesCherrill
0
4K
Member Avatar for Echo89
Member Avatar for Wraithmanilian

If you ever go to [URL="http://www.hostip.info/"]http://www.hostip.info/[/URL], you will find a Community Geotarget IP Project. The great thing about it is that it is free to use. :) Now, this is just a snippet of code to begin working in the world of GeoIPs. There's a lot more info to be …

Member Avatar for sammry
0
433
Member Avatar for TrustyTony

The need for efficient storing of IP numbers came up in discussion thread. With help of this conversion to/from the 32 bit numbers that IP numbers (the old ones) represent I could push the time of finding unique IP numbers from 10 million random numbers down to under two minutes …

Member Avatar for mrkbbk
0
803

The End.