[#CNode-IsConnectedThroughPrivacyNet]
= xref:CNode.adoc[CNode]::IsConnectedThroughPrivacyNet
:relfileprefix: ../
:mrdocs:

Whether this peer connected through a privacy network&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
bool
IsConnectedThroughPrivacyNet() const;
----

== Return Value

true if the connection uses a privacy network such as Tor or I2P&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

[.small]#Created with https://www.mrdocs.com[MrDocs]#
