Discuss this help topic in MsgConnect Forum

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(MCSocksVersion Value);
    MCSocksVersion getSocksVersion(void);

[Pascal]
    property SocksVersion : TMCSocksVersion;

[VB6]
    Property IMCXInetTransport2.SocksVersion As TMCXSocksVersion

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

[C#]
    public MCSocksVersion SocksVersion;

[VB.NET]
    Public Property SocksVersion As MCSocksVersion

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

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

[DLL]
    void __stdcall MCInetTransportSetSocksVersion(HMCInetTransport h, unsigned long value);
    unsigned long __stdcall MCInetTransportGetSocksVersion(HMCInetTransport h);

Values:

MCSocksVersion
    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.

Discuss this help topic in MsgConnect Forum