Re:Domain hacks with unusual Unicode characters
by gondo on Friday November 02, 2018 @10:01AM
(#18363057)
how does that IP url works?
for me HN resolves to 209.216.230.240
I know about http://209.216.230.240 format, but how did you get to 3520653040 ?
[ Parent
| on HN ]
Re:Domain hacks with unusual Unicode characters
by vanni on Friday November 02, 2018 @10:08AM
(#18363103)
An IP is just an unsigned 32 bit integer:
3520653040 = 209 * 256^3 + 216 * 256^2 + 230 * 256^1 + 240 * 256^0
The 209.216.230.240 representation is the sequence of octets (256 = 2^8) from MSB to LSB expressed as decimal values.