code: def broadcast_long(self):
          
          if self.version() == 4:
              return self.network_long() | (MAX_IPV4 - self.netmask_long())
          else:
              return self.network_long() \
                  | (MAX_IPV6 - self.netmask_long())
docs: Broadcast address, as long.
  
          >>> localnet = Network('127.0.0.1/8')
          >>> print(localnet.broadcast_long())
          2147483647