|Top Previous Next|
This method calculates which part of a network is a subnet. A subnet is defined as a part of the network, which isn't connected to the rest of the network. It can typically be an island without a ferry or a similar situation.
IA returns the subnet ID for each link, while the method returns the number of subnets.
0 = main net
1, 2, 3... = sub nets
The main net is defined as the part of the network with node 1.
Syntax: SubNet(var IA: TIntegerArray): integer