Table of Contents

Class TcpTransportOptions

Namespace
IceRpc.Transports.Tcp
Assembly
IceRpc.dll

The base options class for TCP transports.

public record TcpTransportOptions : IEquatable<TcpTransportOptions>
Inheritance
TcpTransportOptions
Implements
Derived
Inherited Members

Properties

NoDelay

Gets or sets a value indicating whether the underlying socket is using the Nagle algorithm.

public bool NoDelay { get; set; }

Property Value

bool

false if the socket uses the Nagle algorithm; otherwise, true. Defaults to true.

ReceiveBufferSize

Gets or sets the socket receive buffer size in bytes.

public int? ReceiveBufferSize { get; set; }

Property Value

int?

The receive buffer size in bytes. It can't be less than 1 KB. null means use the operating system default. Defaults to null.

SendBufferSize

Gets or sets the socket send buffer size in bytes.

public int? SendBufferSize { get; set; }

Property Value

int?

The send buffer size in bytes. It can't be less than 1 KB. null means use the OS default. Defaults to null.