docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field disconnectTimeoutMS

    Inactivity timeout for a connection. If nothing is received on a connection for this amount of time, it is disconnected (a Disconnect event will be generated). To prevent this from happenning when the game session is simply quiet, set heartbeatTimeoutMS to a positive non-zero value.

    Namespace: Unity.Networking.Transport
    Assembly: solution.dll
    Syntax
    public int disconnectTimeoutMS
    Returns
    Type Description
    int

    Timeout in milliseconds.

    In This Article
    Back to top
    Copyright © 2023 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)