DisconnectReason Enumeration |
LiteNetLib |
Disconnect reason that you receive in OnPeerDisconnected event
Namespace: LiteNetLib
Assembly: LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax
C#
public enum DisconnectReason
Members
Member name | Value | Description | |
---|---|---|---|
SocketReceiveError | 0 | ||
ConnectionFailed | 1 | ||
Timeout | 2 | ||
SocketSendError | 3 | ||
RemoteConnectionClose | 4 | ||
DisconnectPeerCalled | 5 |
See Also