docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum NetworkConnection.State

    Different states in which a NetworkConnection can be.

    Namespace: Unity.Networking.Transport
    Assembly: solution.dll
    Syntax
    public enum NetworkConnection.State

    Fields

    Name Description
    Connected

    Connection is open. Can send and receive data on it.

    Connecting

    Connection is in the process of being established. No data may be sent on it and the next event will be either Connect if the connection was successfully established, or Disconnect if it failed to reach the server.

    Disconnected

    Connection is closed. No data may be sent on it, and no further event will be received for the connection.

    In This Article
    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