Class TcpServerTransportOptions
- Namespace
- IceRpc.Transports.Tcp
- Assembly
- IceRpc.dll
The options class for configuring TcpServerTransport.
public sealed record TcpServerTransportOptions : TcpTransportOptions, IEquatable<TcpTransportOptions>, IEquatable<TcpServerTransportOptions>
- Inheritance
-
TcpServerTransportOptions
- Implements
- Inherited Members
Properties
ListenBacklog
Gets or sets the length of the server socket queue for accepting new connections. If a new connection request arrives and the queue is full, the client connection establishment will fail with a IceRpcException and the ConnectionRefused error code.
public int ListenBacklog { get; set; }
Property Value
- int
The server socket backlog size. Defaults to
511
.