Loïc Mathieu@loicmathieu.frTIL that you can resolve a number as an IP address 🤯 But why?22/9/26, 1:31 pm·1 repost·2 likes
Sylvain Wallez@swallez.com22 SeptTo accept unformatted values? IPv4 address are is usually stored as a 32 bits integer, and 2852039166 is 0xA9FEA9FE which is 169.254.169.254.2
Garth@garth.dev22 Septinet_aton accepts several formats, all of which can be decimal, octal, or hex linux.die.net/man/3/inet_a...linux.die.netinet_aton(3): Internet address change routines - Linux man pageinet_aton() converts the Internet host address cp from the IPv4 numbers-and-dots notation into binary form (in network byte order) and stores it in the structure that inp points to.11
Loïc Mathieu@loicmathieu.fr23 SeptBut still, I don't really understand the purpose other than coding challenges and traps on security hardening...