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

Name

Description

addr

The address whose network is tested.

Created with MrDocs