Trees | Indices | Help |
|
---|
|
Class that represents an IP address.
|
|||
Inherited from |
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
|
|||
|
|||
int |
|
||
|
|||
|
|||
|
|||
|
|
|||
iplen = 0
|
|||
family = None hash(x) |
|||
loopback_cidr = None hash(x) |
|
|||
Inherited from |
|
Validate a IP address.
|
Validate a netmask suffix in CIDR notation.
|
Check if the current host has the the given IP address. This is done by trying to bind the given address. We return True if we succeed or false if a socket.error is raised.
|
Determine whether an address is within a network.
|
Get the address family of the given address.
|
Convert an IP address family to the corresponding IP version.
|
Convert an IP version to the corresponding IP address family.
|
Return the IPAddress subclass for the given IP version.
|
Return the IPAddress subclass for the given IP family.
|
Determine whether it is a loopback address.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 22 11:13:23 2016 | http://epydoc.sourceforge.net |