pypeafowl.IpAddress¶
-
class
pypeafowl.
IpAddress
¶ IP address.
IpAddress.getIPv4
(self)Returns the IPv4 address, in network byte order.
IpAddress.getIPv6
(self)Returns the IPv6 address, in network byte order.
IpAddress.isIPv4
(self)Checks if this address is an IPv4 address.
IpAddress.isIPv6
(self)Checks if this address is an IPv6 address.
IpAddress.toString
(self)Returns a string representation of the IP address, in host byte order.