docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum ESNetSocketState

    connection progress indicators, used by CreateP2PConnectionSocket()

    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    public enum ESNetSocketState

    Fields

    Name Description
    k_ESNetSocketStateChallengeHandshake

    we've received a challenge packet from the server

    k_ESNetSocketStateConnected

    The k_ESNetSocketStateConnected member of ESNetSocketState.

    k_ESNetSocketStateConnectionBroken

    connection has been broken; either the other end has disappeared or our local network connection has broke

    k_ESNetSocketStateDisconnecting

    the API shut it down, and we're in the process of telling the other end

    k_ESNetSocketStateInitiated

    the connection state machine has started

    k_ESNetSocketStateInvalid

    The k_ESNetSocketStateInvalid member of ESNetSocketState.

    k_ESNetSocketStateLocalCandidatesFound

    we've found our local IP info

    k_ESNetSocketStateLocalDisconnect

    the API shut it down, and we've completed shutdown

    k_ESNetSocketStateReceivedRemoteCandidates

    we've received information from the remote machine, via the Steam back-end, about their IP info

    k_ESNetSocketStateRemoteEndDisconnected

    the remote end has disconnected from us

    k_ESNetSocketStateTimeoutDuringConnect

    we timed out while trying to creating the connection

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