top | item 19301456

IP address can be written 121 ways

16 points| lucb1e | 7 years ago |lucb1e.com | reply

5 comments

order
[+] borumpilot|7 years ago|reply
The site is dead (for me) but I guess it is "just" about IPv4 and there is something I learned about IPv4 notation that has been hidden for me for the last 30 years:

1.1 expands to 1.0.0.1

1.1.1 expands to 1.1.0.1

[+] dmt314159|7 years ago|reply
obviously FF not running these through POSIX inet_pton

"The inet_pton() function does not accept other formats (such as the octal numbers, hexadecimal numbers, and fewer than four numbers that inet_addr() accepts)."