TorControlConnection::Connect

Connect to a Tor control port. tor_control_center is address of the form host:port. Return true on success.

Synopsis

Declared in <torcontrol.h>

bool
Connect(std::string const& tor_control_center);

Return Value

true on success, false on failure.

Parameters

NameDescription
tor_control_centerAddress of the Tor control socket in host:port form.