Share via


ConnectionState Enum

Definition

Describes the current connection state.

public enum ConnectionState
type ConnectionState = 
Public Enum ConnectionState
Inheritance
ConnectionState

Fields

Name Value Description
Disconnected 0

Represents that the state is not connected, and no connection attempt is in progress (Client), or not listening for incoming connections (Server).

Connecting 1

Represents connecting to server (Client), listening for incoming connections (Server), or performing connection handshake (Client/Server).

Connected 2

Represents fully connected, all communication channels established (Client/Server).

Applies to