IPv6Address

class IPv6Address

An IP version 6 style address.

Members defined in IPv6Address (10 members)

is_loopback

R

Returns true if the address is a loopback address

is_unspecified

R

Returns true if the address is unspecified

is_v4_mapped

R

Returns true if the address is a mapped IPv4 address

__copy__

__deepcopy__

__init__

__repr__

__str__

loopback

Returns an address object that represents the loopback address

to_bytes

Returns the address as bytes, in network byte order

Attributes

property is_loopback: bool

Returns true if the address is a loopback address

property is_unspecified: bool

Returns true if the address is unspecified

property is_v4_mapped: bool

Returns true if the address is a mapped IPv4 address

Methods

__copy__() syside.IPv6Address
__deepcopy__() syside.IPv6Address
__init__() None
__init__(arg: Sequence[int], /) None
__init__(arg: str, /) None
__repr__() str
__str__() str
static loopback() syside.IPv6Address

Returns an address object that represents the loopback address

to_bytes() list[int]

Returns the address as bytes, in network byte order

Used in