MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / broadcast

Method broadcast

vrtManager/IPy.py:239–244  ·  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

237 return self.int()
238
239 def broadcast(self):
240 """
241 Return the broadcast (last) address of a network as an (long) integer.
242
243 The same as IP[-1]."""
244 return self.int() + self.len() - 1
245
246 def _printPrefix(self, want):
247 """Prints Prefixlen/Netmask.

Callers

nothing calls this directly

Calls 2

intMethod · 0.95
lenMethod · 0.95

Tested by

no test coverage detected