docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field ClientConnectionBufferTimeout

    The amount of seconds for the server to wait for the connection approval handshake to complete before the client is disconnected.

    If the timeout is reached before approval is completed the client will be disconnected.

    Namespace: Unity.Netcode
    Assembly: solution.dll
    Syntax
    [Tooltip("The amount of seconds for the server to wait for the connection approval handshake to complete before the client is disconnected")]
    public int ClientConnectionBufferTimeout
    Returns
    Type Description
    int
    Remarks

    The period begins after the Connect is received on the server. The period ends once the server finishes processing a ConnectionRequestMessage from the client.

    This setting is independent of any Transport-level timeouts that may be in effect. It covers the time between the connection being established on the Transport layer, the client sending a ConnectionRequestMessage, and the server processing that message through ConnectionApproval.

    This setting is server-side only.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)