I want to perform a set of network tasks on an IP address range. As soon as the range is getting bigger than a class c network, I fail to enumerate all hosts in the range.
I want to be able to iterate through all hosts of a network with the netmask 255.255.240.0
.
From: 192.168.0.100 To: 192.168.10.100
How would one approach this? It must be a pretty common task. I come from the green fields of Cocoa iPhone programming, so a C-stylish solution would be appreciated. :-)