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

ESNetSocketState

Enum
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public enum ESNetSocketState

connection progress indicators, used by CreateP2PConnectionSocket()

View source
k_ESNetSocketStateChallengeHandshake

direct connections we've received a challenge packet from the server

15
k_ESNetSocketStateConnected

communication is valid

1
k_ESNetSocketStateConnectionBroken

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

25
k_ESNetSocketStateDisconnecting

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

21
k_ESNetSocketStateInitiated

states while establishing a connection the connection state machine has started

10
k_ESNetSocketStateInvalid
0
k_ESNetSocketStateLocalCandidatesFound

p2p connections we've found our local IP info

11
k_ESNetSocketStateLocalDisconnect

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

22
k_ESNetSocketStateReceivedRemoteCandidates

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

12
k_ESNetSocketStateRemoteEndDisconnected

the remote end has disconnected from us

24
k_ESNetSocketStateTimeoutDuringConnect

we timed out while trying to creating the connection

23