Return the broadcast (last) address of a network as an IP object. The same as IP[-1]. >>> IP('10.0.0.0/8').broadcast() IP('10.255.255.255')
(self)
| 721 | return IP(IPint.net(self), ipversion=self._ipversion) |
| 722 | |
| 723 | def broadcast(self): |
| 724 | """Return the broadcast (last) address of a network as an IP object. |
| 725 | |
| 726 | The same as IP[-1]. |
| 727 | |
| 728 | >>> IP('10.0.0.0/8').broadcast() |
| 729 | IP('10.255.255.255') |
| 730 | """ |
| 731 | return IP(IPint.broadcast(self)) |
| 732 | |
| 733 | def netmask(self): |
| 734 | """Return netmask as an IP object. |