Peter Moody wrote: > it's useful to take an > address like 192.168.1.100/24 and derive a bunch of information from > it (like the network address, broadcast address, containing supernets, > etc), but still remember that the original address was 192.168.1.100. > having a separate class or two for this is overly burdensome in my > mind. Seems to me what you want isn't so much an IPNetwork that can optionally have an address, as an IPAddress that can optionally have a mask, and methods for deriving those other things from it. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4