Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(01-14-2020, 11:24 PM)Robert Gilland Wrote: Has anyone used the ChainedProxy property?

Not personally, no.  But I am familiar with the property.

(01-14-2020, 11:24 PM)Robert Gilland Wrote: Is there any examples of it's usage?

No, but it should be very straight forward:

- Setup a separate TIdCustomTransparentProxy-derived component (TIdSocksInfo, TIdConnectThroughHttpProxy, etc) for each proxy you need to connect to (SOCKS, HTTP, etc), each with its own Host/Port, etc.  Make sure each proxy is set to Enabled=True.

- Link the proxy components together via the ChainedProxy property, in the order that you want the proxies to connect to each other.

- Assign a TIdIOHandlerStack component to the IOHandler property of the TCP client you are wanting to use.

- Assign the first proxy component in the chain to the TIdIOHandlerStack.TransparentProxy property.


Messages In This Thread
ChainedProxy - by Robert Gilland - 01-14-2020, 11:24 PM
RE: ChainedProxy - by rlebeau - 01-15-2020, 10:46 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)