Heads up, I added a new method EmbeddedControlConn to process.Process. This was done because now, in Tor >= 0.3.5.x, there is a feature that lets us use a native socket created by Tor instead of opening our own (ref tor_api.h's tor_main_configuration_setup_control_socket). Note, that specific feature doesn't work on Windows due to Go's lack of Windows support for net.FileConn. For older versions of Tor (such as this one and the default used by Bine, 0.3.5.x), just return nil, ErrControlConnUnsupported.
Heads up, I added a new method
EmbeddedControlConn
to process.Process. This was done because now, in Tor >= 0.3.5.x, there is a feature that lets us use a native socket created by Tor instead of opening our own (reftor_api.h
'stor_main_configuration_setup_control_socket
). Note, that specific feature doesn't work on Windows due to Go's lack of Windows support for net.FileConn. For older versions of Tor (such as this one and the default used by Bine, 0.3.5.x), just returnnil, ErrControlConnUnsupported
.