swiftlys2/docs/api/releases/features/ai/
API Reference › SteamAPI

SocketStatusCallback_t

Struct
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public struct SocketStatusCallback_t

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

View source

Fields

k_iCallback

public const int k_iCallback = 1201
Field Value

m_eSNetSocketState

socket state, ESNetSocketState

public int m_eSNetSocketState
Field Value

m_hListenSocket

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

public SNetListenSocket_t m_hListenSocket

m_hSocket

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

public SNetSocket_t m_hSocket
Field Value

m_steamIDRemote

remote steamID we have connected to, if it has one

public CSteamID m_steamIDRemote
Field Value