TorC is a tor library for C/C++, written in C. With it you can use Tor's control protocol to interface with a tor process.
- More capabilities, support, and documentation coming soon.
- Will not support v2 features as of now, only v3
A working example can be seen in test/test.c. This test opens a control port connection, creates a hidden service, and then serves http requests through the created hidden service. Tor must be running with its control port open to use this.
- CMake
- OpenSSL