Table of Contents

Class TcpClientOptions

Namespace
VpnHood.Net.Toolkit.Sockets
Assembly
VpnHood.Net.Toolkit.dll

Optional settings applied while creating a TCP client. Per-call values override defaults supplied by socket-factory decorators and are applied before the caller starts the TCP handshake.

public sealed class TcpClientOptions
Inheritance
TcpClientOptions
Inherited Members

Properties

KernelBufferSize

Gets the kernel socket send and receive buffer sizes (SO_SNDBUF and SO_RCVBUF), each set when above zero, or null to leave both at the system's default. Named for the kernel because the managed copy buffers elsewhere in the transport are sized separately.

public TransferBufferSize? KernelBufferSize { get; init; }

Property Value

TransferBufferSize?