See Also

Server Class  | Server Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerTCP SSL Sockets for .NET

MaxThreads Property

Dart.PowerTCP.SslSockets Namespace > Server Class : MaxThreads Property

Gets or sets the maximum number of threads the server is to use.

[Visual Basic]
<DescriptionAttribute("Gets and Sets the maximum number of thread available for use.")> <BrowsableAttribute(False)> Public Property MaxThreads As Integer
[C#]
[DescriptionAttribute("Gets and Sets the maximum number of thread available for use.")] [BrowsableAttribute(false)] public int MaxThreads {get; set;}
[C++]
[DescriptionAttribute("Gets and Sets the maximum number of thread available for use.")] [BrowsableAttribute(false)] public: __property int get_MaxThreads(); public: __property void set_MaxThreads(    int value );
[C++/CLI]
[DescriptionAttribute("Gets and Sets the maximum number of thread available for use.")] [BrowsableAttribute(false)] public: property int MaxThreads {    int get();    void set (int value); }

Return Type

The maximum number of threads used by the server.

Remarks

The number of threads controls the number of connections the server control can handle at one time. Each active connection to the server uses 1 thread.

The default value is 25. If your server will be handling more connections, this value should be set to the maximum number of connections the server is expected to handle at one time.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Server Class  | Server Members


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.