Enum DisconnectReason
Reason why a connection was disconnected
Syntax
public enum DisconnectReason
Fields
None
No reason given
Declaration
None = 0
Timeout
No message Received in timeout window
Declaration
Timeout = 1
RequestedByRemotePeer
Disconnect called by higher level
Declaration
RequestedByRemotePeer = 2
RequestedByLocalPeer
Disconnect called by higher level
Declaration
RequestedByLocalPeer = 3
InvalidPacket
Received packet was not allowed by config
Declaration
InvalidPacket = 4