When we did this, the database table had a start and end IP address range 
column.

The IP addresses were entered into the table as integers without the dots. Iā€™m 
not sure but I think we might have put a ā€œ1ā€ at the beginning of the IP address 
integers so that everything stayed 13 digits (ie the front zeros in an IP 
address were not eliminated).

StartIP and EndIP columns were indexed.

The lookup time was pretty quick. 

Kee Nethery
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to