docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SocketStatusCallback_t

    callback notification - status of a socket has changed used as part of the CreateListenSocket() / CreateP2PConnectionSocket()

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    [Serializable]
    [CallbackIdentity(1201)]
    public struct SocketStatusCallback_t

    Fields

    k_iCallback

    The identifier Steam dispatches this callback under.

    Declaration
    public const int k_iCallback = 1201
    Field Value
    Type Description
    int

    m_eSNetSocketState

    socket state, ESNetSocketState

    Declaration
    public int m_eSNetSocketState
    Field Value
    Type Description
    int

    m_hListenSocket

    this is the server socket that we were listening on; NULL if this was an outgoing connection

    Declaration
    public SNetListenSocket_t m_hListenSocket
    Field Value
    Type Description
    SNetListenSocket_t

    m_hSocket

    the socket used to send/receive data to the remote host

    Declaration
    public SNetSocket_t m_hSocket
    Field Value
    Type Description
    SNetSocket_t

    m_steamIDRemote

    remote steamID we have connected to, if it has one

    Declaration
    public CSteamID m_steamIDRemote
    Field Value
    Type Description
    CSteamID
    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)