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

Connection to host failed

ConnectionRejected

Connection rejected by remote host

DisconnectPeerCalled

Disconnect called locally

HostUnreachable
InvalidProtocol
NetworkUnreachable
PeerNotFound
PeerToPeerConnection
Reconnect
RemoteConnectionClose

Remote host disconnected peer

Timeout

Timeout

UnknownHost
In this article
Back to top Generated by DocFX