Construct a network address from an IPv6 address and optional scope id.

Synopsis

Declared in <netaddress.h>

explicit
CNetAddr(
    in6_addr const& pipv6Addr,
    uint32_t scope = 0);

Parameters

Name

Description

pipv6Addr

The IPv6 address to store.

scope

The scope id for scoped/link‐local IPv6 addresses.

Created with MrDocs