Discuss this help topic in MsgConnect Forum

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



InetTransport.ClientThreadLimit

InetTransport     See also    


Defines how much client threads can be started at the same time.

Declaration

[C++]
    void setClientThreadLimit(unsigned long Value);
    unsigned long getClientThreadLimit(void);

[Pascal]
    property ClientThreadLimit : cardinal;

[VB6]
    Property ClientThreadLimit As Long

[ActiveX]
    HRESULT _stdcall ClientThreadLimit([in] unsigned long Value );
    HRESULT _stdcall ClientThreadLimit([out, retval] unsigned long * Value );

[C#]
    public int ClientThreadLimit;

[VB.NET]
    Public Property ClientThreadLimit As Integer

[Java]
    public void setClientThreadLimit(int value);
    public int getClientThreadLimit();

[Java ME]
    public void setClientThreadLimit(int value);
    public int getClientThreadLimit();

[DLL]
    void __stdcall MCInetTransportSetClientThreadLimit(HMCInetTransport h, unsigned long value);
    unsigned long __stdcall MCInetTransportGetClientThreadLimit(HMCInetTransport h);

Parameters

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

Description

    Use ClientThreadLimit to limit the number of client threads that can be started at the same time. Use 0 to start as many threads as needed. Client thread is the thread that connects to remote host.
    Note: This property is only active when InetTransport is in peer-to-peer and client transport modes.

Discuss this help topic in MsgConnect Forum