Struct ReliableUtility.Parameters
Parameters for the reliable pipeline stage.
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Syntax
public struct Parameters : INetworkParameter
Fields
WindowSize
Maximum number of packets that can be in flight at a time.
Declaration
public int WindowSize
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Must be between 0 and 64. Default is 32. Note that using values higher than 32 will make reliable headers slightly larger, reducing the amount of space available for data. Most of the time the extra bandwidth offered by the larger window size is more than worth it, however.
Methods
Validate()
Validate the settings.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if the settings are valid, false otherwise. |