@property
    def numhosts(self):
        return int(self.broadcast_address) - int(self.network_address) + 1
Number of hosts in the current subnet.
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/ipaddr.py/_BaseInterface.numhosts