Go to the latest version of this document.

# ``twisted`.`internet`.`address`.`IPv6Address``

class documentation

`class IPv6Address: (source)`

Implements interfaces: `twisted.internet.interfaces.IAddress`

View In Hierarchy

An `IPv6Address` represents the address of an IPv6 socket endpoint.

Instance Variable | `flowInfo` | the IPv6 flow label. This can be used by QoS routers to identify flows of traffic; you may generally safely ignore it.
Instance Variable | `host` | A string containing a colon-separated, hexadecimal formatted IPv6 address; for example, "::1".
Instance Variable | `port` | An integer representing the port number.
Instance Variable | `scopeID` | the IPv6 scope identifier - roughly analagous to what interface traffic destined for this address must be transmitted over.
Instance Variable | `type` | A string describing the type of transport, either 'TCP' or 'UDP'.

flowInfo: `int` = (source)

the IPv6 flow label. This can be used by QoS routers to identify flows of traffic; you may generally safely ignore it.

host: `str` = (source)

A string containing a colon-separated, hexadecimal formatted IPv6 address; for example, "::1".

port: `int` = (source)

An integer representing the port number.

scopeID: `int` or `str` = (source)

the IPv6 scope identifier - roughly analagous to what interface traffic destined for this address must be transmitted over.

type: `Literal['TCP'] | Literal['UDP']` = (source)

A string describing the type of transport, either 'TCP' or 'UDP'.