docs.unity3d.com
    Show / Hide Table of Contents

    Struct NetworkParameterConstants

    Default NetworkParameter Constants.

    Namespace: Unity.Networking.Transport
    Syntax
    public struct NetworkParameterConstants

    Fields

    ConnectTimeoutMS

    The default connection timeout value. This value can be overridden using the NetworkConfigParameter

    Declaration
    public const int ConnectTimeoutMS = null
    Field Value
    Type Description
    Int32

    DisconnectTimeoutMS

    The default disconnect timeout attempts value. This value can be overridden using the NetworkConfigParameter

    Declaration
    public const int DisconnectTimeoutMS = null
    Field Value
    Type Description
    Int32

    DriverDataStreamSize

    The default size of the DataStreamWriter. This value can be overridden using the NetworkConfigParameter.

    Declaration
    public const int DriverDataStreamSize = null
    Field Value
    Type Description
    Int32

    HeartbeatTimeoutMS

    The default inactivity timeout after which a heartbeat is sent. This This value can be overridden using the NetworkConfigParameter

    Declaration
    public const int HeartbeatTimeoutMS = null
    Field Value
    Type Description
    Int32

    InitialEventQueueSize

    The default size of the event queue.

    Declaration
    public const int InitialEventQueueSize = null
    Field Value
    Type Description
    Int32

    InvalidConnectionId

    The invalid connection id

    Declaration
    public const int InvalidConnectionId = null
    Field Value
    Type Description
    Int32

    MaxConnectAttempts

    The default max connection attempts value. This value can be overridden using the NetworkConfigParameter

    Declaration
    public const int MaxConnectAttempts = null
    Field Value
    Type Description
    Int32

    MTU

    The max size of any packet that can be sent

    Declaration
    public const int MTU = null
    Field Value
    Type Description
    Int32
    Back to top
    Terms of use
    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