Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 



InetTransport.SocksVersion

InetTransport     See also    


Specifies the version of SOCKS protocol to be used with the SOCKS server.

Declaration

[C++]
    void setSocksVersion(IPCSocksVersion Value);
    IPCSocksVersion getSocksVersion(void);

[Pascal]
    property SocksVersion : TIPCSocksVersion;

[VB6]
    Property IIPCXInetTransport2.SocksVersion As TIPCXSocksVersion

[ActiveX]
    HRESULT _stdcall IIPCXInetTransport2.SocksVersion([in] IPCXSocksVersion Value );
    HRESULT _stdcall IIPCXInetTransport2.SocksVersion([out, retval] IPCXSocksVersion * Value );

[C#]
    public IPCSocksVersion SocksVersion;

[VB.NET]
    Public Property SocksVersion As IPCSocksVersion

[Java]
    public void setSocksVersion(byte value);
    public byte getSocksVersion();

[Java ME]
    public void setSocksVersion(byte value);
    public byte getSocksVersion();

[DLL]
    void __stdcall IPCInetTransportSetSocksVersion(HIPCInetTransport h, unsigned long value);
    unsigned long __stdcall IPCInetTransportGetSocksVersion(HIPCInetTransport h);

Values:

IPCSocksVersion
    mcSocksV4 = 4;
    mcSocksV5 = 5;

Parameters

  • h - handle to the object that was returned by Create method

Description

    This property specifies the version of SOCKS protocol to be used with the SOCKS server.
    This property is used only when UseSocks is set.