[#CNetAddr-SetSpecial] = xref:CNetAddr.adoc[CNetAddr]::SetSpecial :relfileprefix: ../ :mrdocs: Parse a Tor or I2P address and set this object to it. == Synopsis Declared in `<netaddress.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool SetSpecial(std::string_view addr); ---- == Return Value Whether the operation was successful. == Parameters [cols="1,4"] |=== | Name| Description | *addr* [in] | Address to parse, for example pg6mmjiyjmcrsslvykfwnntlaru7p5svn6y2ymmju6nubxndf4pscryd.onion or ukeu3k5oycgaauneqgtnvselmt4yemvoilkln7jpvamvfx7dnkdq.b32.i2p. |=== == See Also CNetAddr::IsTor(), CNetAddr::IsI2P() [.small]#Created with https://www.mrdocs.com[MrDocs]#