[#ReachableNets-Contains-01] = xref:ReachableNets.adoc[ReachableNets]::Contains :relfileprefix: ../ :mrdocs: Check whether the network of an address is currently reachable. == Synopsis Declared in `<netbase.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool Contains(xref:CNetAddr.adoc[CNetAddr] const& addr) const; ---- == Return Value True when the address's network is reachable. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *addr* | The address whose network is tested. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#