Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restricting access from specific countries
Message
 
To
08/01/2007 16:56:15
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01183554
Message ID:
01183640
Views:
19
Hi Michel,

> However, there is no dot. I wonder how someone would be able to know what IP is it exactly.

From the web site: "The IP_FROM and IP_TO fields of the IP-to-Country Database are numeric representations of the dotted IP address.


The formula to convert an IP Address of the form A.B.C.D to an IP Number is:

IP Number = A x (256*256*256) + B x (256*256) + C x 256 + D

Which is the same as:

IP Number = A x 16777216 + B x 65536 + C x 256 + D"
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform