h******y 发帖数: 173 | |
z*********n 发帖数: 94654 | |
z***h 发帖数: 405 | 3 it's IP number
3. How do I convert a IP Address to a IP Number?
IP address (IPV4) is divided into 4 sub-blocks. Each sub-block has a
different weight number each powered by 256. IP number is being used in the
database because it is efficient to search between a range of number in
database.
Beginning IP number and Ending IP Number are calculated based on following
formula:
IP Number = 16777216*w + 65536*x + 256*y + z (1)
where
IP Address = w.x.y.z
For example, if IP address is "202.186.13.4",
【在 h******y 的大作中提到】 : http://1244808404/
|
y********o 发帖数: 2565 | 4 Everything the computer recognizes boils down to numbers, which eventually b
oils down to 0 and 1.
【在 h******y 的大作中提到】 : http://1244808404/
|
h******y 发帖数: 173 | 5 Thank you.
the
【在 z***h 的大作中提到】 : it's IP number : 3. How do I convert a IP Address to a IP Number? : IP address (IPV4) is divided into 4 sub-blocks. Each sub-block has a : different weight number each powered by 256. IP number is being used in the : database because it is efficient to search between a range of number in : database. : Beginning IP number and Ending IP Number are calculated based on following : formula: : IP Number = 16777216*w + 65536*x + 256*y + z (1) : where
|