I need to get the netmask and ip from the Android so I can calculate all the IP\'s within my subnet range.
I\'m trying to determine the network segment my Macbook is in, because I then want to scan this segment for active hosts (basic IP scanner) by using the CFHost class. Therefore I need the IP and Netma
I\'m wanting to do something similar to this: Matching an IP to a CIDR mask in PHP 5?开发者_开发问答