I am looking for a (preferably Open Source) API usable in C/C++, that enables one to send/receive data over the Tor network. So I want to build an application that uses sockets to communicate data over a network, but I want that data to be sent over the Tor network instead. Is that possible? Is there a API for it?

New contributor
Galaxy is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • I don't think there are any well-supported C APIs. There are generally two options for accessing Tor through an API. You can communicate to a separate Tor process using the Tor control protocol and SOCKS port, or you can statically link tor into your program (for example iCepa for iOS). If you're more specific about what your requirements are, you might get more help. – Steve 2 days ago

Your Answer

Galaxy is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.