docs.unity3d.com
    Show / Hide Table of Contents

    Struct ReliableUtility.Parameters

    Parameters for the reliable pipeline stage.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    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.

    Implements
    INetworkParameter.Validate()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023