Why do HexGadgets require numeric IP addresses instead of accepting domain names?
In short, HexGadgets use numeric IP addresses because it’s a cleaner design. Specifically, it • Isolates different areas of functionality into different components, providing better encapsulation and granularity. For example, you can have separate Timeout and Error properties for lookups, TCP queries, ICMP communications, and so on, instead of having them all lumped together. • Avoids unnecessary string handling and conversions between strings and numbers. • Allows a choice of lookup facilities instead of tying you to something built-in. You can use HexLookup, HexDns, another 3rd party component, or your own code to look up IP addresses. • Clarifies network programming thinking. It enforces the distinction between domain names and IP addresses and matches the way Internet communication actually works.