ReachableNets::Contains

Check whether the network of an address is currently reachable.

Synopsis

Declared in <netbase.h>

[[nodiscard]]
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.