how to communicate with tor network
How can I communicate with Tor network in Delphi?
I want to use tor network for my IDHTTP1 operations
Is it possible?
开发者_JAVA技巧If so, can any one help me?
tor is a SOCKS proxy, so you should be able to follow the SOCKS answer from the INDY Faq:
indy 10:
- Create an
IOHandler
such asTIdIOHandlerStack
or SSLIOHandler
and assign theTCPClient.IOHandler
property this. - Create a
TIdSocksInfo
object and assign it to theIOHandler
'sTransparentProxy
property. - Set the
TIdSocksInfo
properties as required. - If there is another proxy that the SOCKS Proxy itself needs to use, you have to use, set the Chained Proxy to a
TIdCustomTransparentProxy
such asTIdSocksInfo
for another socks Proxy or aTIdConnectThroughHttpProxy
for a HTTP Tunneling proxy.
精彩评论