http://qs321.pair.com?node_id=164316


in reply to Re: ip address calculations
in thread ip address calculations


Yes! Very Interesting
Thanx

But i want to neglect ip addresses which are network or broadcast addresses.
The above code prints out 172.16.2.0, 172.16.2.255, etc.
I really want this functionality for users who are supposed
to allocate ip addresses from a pool which they have defined
using start and end ip addresses.
I guess i'll have to put additional code to neglect
the network and broadcast addresses.

Thanx a lot!

--
arc_of_descent