Enum NetworkConnection.State
Different states in which a NetworkConnection can be.
Namespace: Unity.Networking.Transport
Assembly: Unity.Networking.Transport.dll
Syntax
public enum NetworkConnection.State
Fields
Name | Description |
---|---|
Connected | Connection is open. Can send and receive data on it. |
Connecting | Connection is in the process of being established. No data may be sent on it and the next event will be either Connect if the connection was successfully established, or Disconnect if it failed to reach the server. |
Disconnected | Connection is closed. No data may be sent on it, and no further event will be received for the connection. |