[#CNetAddr-SetSpecial]
= xref:CNetAddr.adoc[CNetAddr]::SetSpecial
:relfileprefix: ../
:mrdocs:

Parse a Tor or I2P address and set this object to it&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
SetSpecial(std::string&lowbar;view addr);
----

== Return Value

Whether the operation was successful&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *addr* [in]
| Address to parse, for example pg6mmjiyjmcrsslvykfwnntlaru7p5svn6y2ymmju6nubxndf4pscryd&period;onion or ukeu3k5oycgaauneqgtnvselmt4yemvoilkln7jpvamvfx7dnkdq&period;b32&period;i2p&period;
|===

== See Also

CNetAddr&colon;&colon;IsTor(), CNetAddr&colon;&colon;IsI2P()


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