2 ms·
I didn't realize that some browsers accept straight hex or decimal representations of IP addresses. Not just browsers but a lot of other things that want a hos
by userbinator 9y ago
I didn't realize that some browsers accept straight hex or decimal representations of IP addresses.
Not just browsers but a lot of other things that want a hostname in either DNS or IP format will accept the same thing, because they all use this function to parse it:
http://pubs.opengroup.org/onlinepubs/009695399/functions/inet_addr.html http://pubs.opengroup.org/onlinepubs/009695399/functions/ine...