Class TcpClientTransportOptions
- Namespace
- IceRpc.Transports.Tcp
- Assembly
- IceRpc.dll
The options class for configuring TcpClientTransport.
public sealed record TcpClientTransportOptions : TcpTransportOptions, IEquatable<TcpTransportOptions>, IEquatable<TcpClientTransportOptions>
- Inheritance
-
TcpClientTransportOptions
- Implements
- Inherited Members
Properties
LocalNetworkAddress
Gets or sets the address and port represented by a .NET IPEndPoint to use for a client socket. If specified the client socket will bind to this address and port before connection establishment.
public IPEndPoint? LocalNetworkAddress { get; set; }
Property Value
- IPEndPoint
The address and port to bind the socket to. Defaults to null.