uint getMinHostRange(int maskLength){
return 1;
}
uint getMaxHostRange(int maskLength){
uint mask = 1;
while(i=1;i<masklength;++i){>
mask = mask<<1+1;
}
return mask-1;
}
The ip address is not relevant because as I said IP uses classles routing today.