SocketTools .NET Edition

InternetServer.ServerPriority Enumeration

Specifies the priorities that the InternetServer class supports.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum InternetServer.ServerPriority
[C#]
[Flags]
public enum InternetServer.ServerPriority

Members

Member Name Description Value
priorityBackground This priority significantly reduces the memory, processor and network resource utilization for the server. It is typically used with lightweight services running in the background that are designed for few client connections. Each client thread will be assigned a lower scheduling priority and will be frequently forced to yield execution to other threads. 0
priorityLow This priority lowers the overall resource utilization for the client session and meters the processor utilization for the client session. Each client thread will be assigned a lower scheduling priority and will occasionally be forced to yield execution to other threads. 1
priorityNormal The default priority which balances resource and processor utilization. It is recommended that most applications use this priority. 2
priorityHigh This priority increases the overall resource utilization for each client session and their threads will be given higher scheduling priority. It is not recommended that this priority be used on a system with a single processor. 3
priorityCritical This priority can significantly increase processor, memory and network utilization. Each client thread will be given higher scheduling priority and will be more responsive to network events. It is not recommended that this priority be used on a system with a single processor. 4
priorityInvalid An invalid transfer priority which indicates an error condition. -1
priorityDefault The default server priority. This is the same as specifying priorityNormal. 2
priorityLowest The lowest valid server priority. This is the same as specifying priorityBackground. 0
priorityHighest The highest valid server priority. This is the same as specifying priorityCritical. 4

Requirements

Namespace: SocketTools

Assembly: SocketTools.InternetServer (in SocketTools.InternetServer.dll)

See Also

SocketTools Namespace