¡@

Home 

php Programming Glossary: getnetworkaddress

Testing if a network in cidr notation overlaps another network

http://stackoverflow.com/questions/13608394/testing-if-a-network-in-cidr-notation-overlaps-another-network

offset return NULL if offset 'network' address this getNetworkAddress self ADDRESS_INT else if offset 'broadcast' address this getBroadcastAddress.. count this getBroadcastAddress self ADDRESS_INT this getNetworkAddress self ADDRESS_INT return count 2 count 1 count 1 Adjust return.. to exclude network broadcast addresses public function getNetworkAddress mode self ADDRESS_SUBNET return this binaryToX this address..