ReachableNets::Contains

Check whether the network of an address is currently reachable.

Synopsis

Declared in <netbase.h>

[[nodiscard, requires_capability(0x7fd7492db148), requires_capability(0x7fd74a154c58), requires_capability(0x7fd75b447798), requires_capability(0x7fd756288b78), requires_capability(0x7fd74e243e68), requires_capability(0x7fd755fb8518), requires_capability(0x7fd753e1f928), requires_capability(0x7fd75975d9f8), requires_capability(0x7fd73c877fd8), requires_capability(0x7fd7619b8358), requires_capability(0x7fd754336e98), requires_capability(0x7fd75a3a8b38), requires_capability(0x7fd7629072a8), requires_capability(0x7fd76383bc28), requires_capability(0x7fd758907048)]]
bool
Contains(CNetAddr const& addr) const;

Return Value

True when the address's network is reachable.

NOTE

The return value should not be discarded.

Parameters

NameDescription
addrThe address whose network is tested.