Show / Hide Table of Contents

# Enum DisconnectReason

Disconnect reason that you receive in OnPeerDisconnected event

###### Namespace: LiteNetLib

###### Assembly: LiteNetLib.dll

##### Syntax

    public enum DisconnectReason

### Fields

Name | Description
--- | ---
ConnectionFailed |
ConnectionRejected |
DisconnectPeerCalled |
HostUnreachable |
InvalidProtocol |
NetworkUnreachable |
PeerNotFound |
PeerToPeerConnection |
Reconnect |
RemoteConnectionClose |
Timeout |
UnknownHost |