Internet Direct (Indy) Version 9.0.1 Beta
Connection
Represents the client connection used for the SOCKS proxy.

Description
Connection is a TIdTCPConnection property that represents the client connection used to perform the Authentication required for the SOCKS proxy.

Set the value in Version prior to calling MakeSocksConnection, MakeSocks4Connection, or MakeSocks5Connection.

Connection is used in the methods MakeSocks4Connection and MakeSocks5Connection to write the SOCKS request that contains established and authenticates a SOCKS connection, and to read the SOCKS response containing the results for the SOCKS request.