[#8D42AD0FE8415391E886566C934684F6C0F8FBDA]

Function ipv6_address:: ipv6_address

Construct from an IPv4 address.

Synopsis

            ipv6_address(ipv4_address const& addr) noexcept;
        

Description

This function constructs an IPv6 address from the IPv4 address `addr`. The resulting address is an IPv4-Mapped IPv6 Address.

Specification

  • 2.5.5.2. IPv4-Mapped IPv6 Address (rfc4291)