Represents the remote connection for the proxied client session.
property OutboundClient: TIdTCPConnection;
OutboundClient is a TIdTCPConnection property that represents the remote connection for the proxied client session.
OutboundClient is given values in the Host and Port properties that correspond to the MappedHost and MappedPort properties for the Server. A socket-based IOHandler is created for OutboundClient that uses the value in ConnectTimeOut for the delay allowed before the remote connection attempt is aborted.
The OutboundClient calls its Connect method, and immediately checks for available data on both the local client Connection and the OutboundClient connection.
Any exception raised when creating the OutboundClient connection causes the local client Connection to be closed as well.
Resources allocated to OutboundClient are freed in the Destroy method.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.