diff --git a/EduNetworkBuilder/IPAddress.cs b/EduNetworkBuilder/IPAddress.cs index 9fe940f..3451e5a 100644 --- a/EduNetworkBuilder/IPAddress.cs +++ b/EduNetworkBuilder/IPAddress.cs @@ -241,6 +241,10 @@ namespace EduNetworkBuilder get { return NetworkAddress + ~_mask; } } + /// + /// Return the number of hosts in the subnet. + /// + /// public IEnumerable Hosts() { for (var host = NetworkAddress + 1; host < BroadcastAddress; host++)