Re:IP address can be written 121 ways
by borumpilot on Thursday March 07, 2019 @05:24AM
(#19326942)
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:
Re:IP address can be written 121 ways
by dmt314159 on Tuesday March 05, 2019 @12:25PM
(#19312203)
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)."
1.1 expands to 1.0.0.1
1.1.1 expands to 1.1.0.1
"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)."