Table of Contents

Class TcpStreamSettings

Namespace
MongoDB.Driver.Core.Configuration
Assembly
MongoDB.Driver.Core.dll

Represents settings for a TCP stream.

public class TcpStreamSettings
Inheritance
TcpStreamSettings
Inherited Members

Constructors

TcpStreamSettings(Optional<AddressFamily>, Optional<TimeSpan>, Optional<TimeSpan?>, Optional<int>, Optional<int>, Optional<Action<Socket>>, Optional<TimeSpan?>)

Initializes a new instance of the TcpStreamSettings class.

Properties

AddressFamily

Gets the address family.

ConnectTimeout

Gets the connect timeout.

ReadTimeout

Gets the read timeout.

ReceiveBufferSize

Gets the size of the receive buffer.

SendBufferSize

Gets the size of the send buffer.

SocketConfigurator

Gets the socket configurator.

WriteTimeout

Gets the write timeout.

Methods

With(Optional<AddressFamily>, Optional<TimeSpan>, Optional<TimeSpan?>, Optional<int>, Optional<int>, Optional<Action<Socket>>, Optional<TimeSpan?>)

Returns a new TcpStreamSettings instance with some settings changed.