Language

NWTcpMetadata.SetMaximumPacingRate(UInt64) Method

Definition

Sets the maximum pacing rate for TCP transmissions.

public int SetMaximumPacingRate(ulong maximumPacingRate);
member this.SetMaximumPacingRate : uint64 -> int

Parameters

maximumPacingRate
UInt64

The maximum pacing rate, in bytes per second.

Returns

Zero on success; otherwise, a POSIX error code.

Remarks

A value of 0 or ulong.MaxValue disables pacing. Values between 1 and 12,499 are clamped to 12,500. Each call replaces the previous pacing rate.

Applies to