Add a comment about the hosts func
This commit is contained in:
parent
4014439162
commit
e27d960403
@ -241,6 +241,10 @@ namespace EduNetworkBuilder
|
|||||||
get { return NetworkAddress + ~_mask; }
|
get { return NetworkAddress + ~_mask; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Return the number of hosts in the subnet.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
public IEnumerable<UInt32> Hosts()
|
public IEnumerable<UInt32> Hosts()
|
||||||
{
|
{
|
||||||
for (var host = NetworkAddress + 1; host < BroadcastAddress; host++)
|
for (var host = NetworkAddress + 1; host < BroadcastAddress; host++)
|
||||||
|
Loading…
Reference in New Issue
Block a user