[#TorController-connected_cb]
= xref:TorController.adoc[TorController]::connected&lowbar;cb
:relfileprefix: ../
:mrdocs:

Callback after successful connection

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
connected&lowbar;cb(xref:TorControlConnection.adoc[TorControlConnection]& conn);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *conn*
| Connection that was established&period;
|===


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