5 ms·
https://en.m.wikipedia.org/wiki/IPv4#Addressing https://en.m.wikipedia.org/wiki/IPv4#Addressing > IPv4 addresses may be represented in any notation expressing
by oarmstrong 4y ago
https://en.m.wikipedia.org/wiki/IPv4#Addressing https://en.m.wikipedia.org/wiki/IPv4#Addressing
> IPv4 addresses may be represented in any notation expressing a 32-bit integer value.
I remember reading a man page that explained this really succinctly but I cannot remember which one it was. A tool like ping I believe.
- geraldcombs 4y agoWas it inet_aton? https://www.freebsd.org/cgi/man.cgi?query=inet_aton&sektion=3&manpath=freebsd-release-ports https://www.freebsd.org/cgi/man.cgi?query=inet_aton&sektion=...
- oarmstrong 4y agoBingo!
- lelandfe 4y ago> When fewer than four numbers are specified in the address in dotted notation, the last value is treated as an integer of as many bytes as are required to fill out the address to four octets. Thus, the address 127.65530 is equivalent to 127.0.255.250 Wow, it actually works: http://127.65530 http://127.65530 TIL
- zhte415 4y agoThis was a thing in late 90s spam.