in reply to IP in range
That should work just fine, as that's similar to how IP addresses are typically implemented. Normally in the socket code, the four octets are each a single byte, which are packed into a 32 bit value. You're proposing to perform a similar mapping into a number.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|