5 ms·
How does this work?
by worldmerge 4y ago
How does this work?
- jhugo 4y agoIPv4 addresses are 32-bit numbers, the dotted-decimal representation is just a common way to represent those numbers.
- throwaway787544 4y agoIn particular inet_aton() function considers a single integer to be the 32bit form. Accepts decimal, octal, and hex. https://linux.die.net/man/3/inet_aton https://linux.die.net/man/3/inet_aton