MCPcopy
hub / github.com/Xyntax/POC-T / broadcast

Method broadcast

thirdparty/IPy/IPy.py:297–302  ·  view source on GitHub ↗

Return the broadcast (last) address of a network as an (long) integer. The same as IP[-1].

(self)

Source from the content-addressed store, hash-verified

295 return self.int()
296
297 def broadcast(self):
298 """
299 Return the broadcast (last) address of a network as an (long) integer.
300
301 The same as IP[-1]."""
302 return self.int() + self.len() - 1
303
304 def _printPrefix(self, want):
305 """Prints Prefixlen/Netmask.

Callers

nothing calls this directly

Calls 2

intMethod · 0.95
lenMethod · 0.95

Tested by

no test coverage detected