Topic Path: Symbol Reference > Classes > TIdSocksInfo Class > TIdSocksInfo Properties > Version Property
TIdSocksInfo.Version Property

Specifies the SOCKS version required for the proxied client connection.

property Version: TSocksVersion;

Version is a TSocksVersion property that indicates the version of the SOCKS protocol to be used for the client connection to a proxy server. There are currently two versions of the SOCKS protocol: SOCKS Version 4 and SOCKS Version 5. 

SOCKS Version 4 provides for unsecured firewall traversal for TCP-based client-server applications. 

SOCKS Version 5 provides additional support for UDP-based clients and servers, and a generalized strong authentication scheme. 

Version allows the SOCKS client to perform the specifics for establishing a client connection that are required for the differing versions when establishing the proxied Socks connection. 

The default value for Version is ID_SOCKS_VER as assigned in the Create constructor.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.