[#CNode-IsConnectedThroughPrivacyNet] = xref:CNode.adoc[CNode]::IsConnectedThroughPrivacyNet :relfileprefix: ../ :mrdocs: Whether this peer connected through a privacy network. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool IsConnectedThroughPrivacyNet() const; ---- == Return Value true if the connection uses a privacy network such as Tor or I2P. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#