ipv6_address

Construct from an IPv4 address.

Synopsis

void ipv6_address( const ipv4_address& addr) noexcept;

Declared in file <src/ipv6_address.cpp> at line 32

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)