Forum Topics : Development / IP Address to IP Number Formula
Hi
could someone please explain to me
the logic behind the IP Address to IP Number Formula.
eg:IP Number = A x (256*256*256) + B x (256*256) + C x 256 + D
why A is multiplied by 256^3
why B is multiplied by 256^2
why C is multiplied by 256^1
why D is multiplied by 256^0
Can any one pls explain..
Andthereitgoes
could someone please explain to me
the logic behind the IP Address to IP Number Formula.
eg:IP Number = A x (256*256*256) + B x (256*256) + C x 256 + D
why A is multiplied by 256^3
why B is multiplied by 256^2
why C is multiplied by 256^1
why D is multiplied by 256^0
Can any one pls explain..
Andthereitgoes
