Don't be confused by the 32-bit CCCC's, since an IP address is 4 8-bit numbers, not a 32-bit number.
It's actually 32 opaque bits. The dotted form is just a representation. The separation into bytes in completely arbitrary. But if you're going to display in that form, it might be useful to extract the IP as 4 bytes.
In reply to Re^6: Need help with (un)pack templates
by ikegami
in thread Need help with (un)pack templates
by Subop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |