Trees | Indices | Help |
|
---|
|
Class that represents an IP address.
|
|||
Inherited from |
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
|
|||
|
|||
int |
|
||
|
|||
|
|
|||
iplen = 0
|
|||
family = None
|
|||
loopback_cidr = None
|
|
|||
Inherited from |
|
Validate a IP address.
|
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.
|
Determine whether it is a loopback address.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 16:51:27 2012 | http://epydoc.sourceforge.net |