Indy 9 | Content | Index | Reference

TIdSocksRequest
See Also, Unit: IdSocks
Contains data sent to the Socks proxy during a connection request.

    TIdSocksRequest = record
      Version: Byte;
      OpCode: Byte;
      Port: Word;
      IpAddr: TIdInAddr;
      UserName: String[255];
      end;

Unit
IdSocks
Members
Version: Byte;
Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable.
OpCode: Byte;
Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable.
Port: Word;
Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable.
IpAddr: TIdInAddr;
Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable.
UserName: String[255];
Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable. Member variable.
Description
TIdSocksRequest is a record type that represents the data sent to the Socks proxy during a TIdTCPClient connection to a Socks proxy server.

Version is a Byte member that represents the Socks protocol version number required for the connection.

OpCode is a Byte member that identifies the action to be performed on connection.

Port is a Word member that identifies the Port number for the client connection.

IpAddr is a TIdInAddr member that represents the structured IP address used for the client connection.

Username is String member that identifies the user name used for authentication of the client connection.

TIdSocksRequest is used internally by TIdTCPClient.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.