[#TorControlConnection-Connect]
= xref:TorControlConnection.adoc[TorControlConnection]::Connect
:relfileprefix: ../
:mrdocs:

Connect to a Tor control port&period; tor&lowbar;control&lowbar;center is address of the form host&colon;port&period; Return true on success&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
Connect(std::string const& tor&lowbar;control&lowbar;center);
----

== Return Value

true on success, false on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tor&lowbar;control&lowbar;center*
| Address of the Tor control socket in host&colon;port form&period;
|===


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