Redigera

Dela via


SocketConnectionOptions Class

Definition

Options for configuring socket connections.

public class SocketConnectionOptions
type SocketConnectionOptions = class
Public Class SocketConnectionOptions
Inheritance
SocketConnectionOptions

Constructors

SocketConnectionOptions()

Properties

IOQueueCount

The number of I/O queues used to process requests. Set to 0 to directly schedule I/O to the ThreadPool.

KeepAlive

Whether TCP KeepAlive is enabled or disabled.

KeepAliveIntervalSeconds

The number of seconds between keep-alive packets when the remote endpoint is not responding.

KeepAliveRetryCount

The number of retry attempts for keep-alive packets before the connection is considered dead.

KeepAliveTimeSeconds

The number of seconds before the first keep-alive packet is sent on an idle connection.

NoDelay

Whether the Nagle algorithm should be enabled or disabled.

Applies to