Share via


SocketConnectionFactoryOptions.WaitForDataBeforeAllocatingBuffer Property

Definition

Wait until there is data available to allocate a buffer. Setting this to false can increase throughput at the cost of increased memory usage.

public bool WaitForDataBeforeAllocatingBuffer { get; set; }
member this.WaitForDataBeforeAllocatingBuffer : bool with get, set
Public Property WaitForDataBeforeAllocatingBuffer As Boolean

Property Value

Remarks

Defaults to true.

Applies to