Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restricting access from specific countries
Message
 
À
08/01/2007 16:56:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01183554
Message ID:
01183640
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform