Dela via


SocketTransportOptions.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:
 property bool WaitForDataBeforeAllocatingBuffer { bool get(); void set(bool value); };
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