Skip to main content

Enum ClientStoppedReason

Reason why Client was stopped or disconnected

Syntax
[Serializable]
public enum ClientStoppedReason

Fields

None

No reason given

Declaration
None = 0

Timeout

Connecting timed out Server not sending replies

Declaration
Timeout = 1

LocalConnectionClosed

Connection disconnect called locally

Declaration
LocalConnectionClosed = 2

RemoteConnectionClosed

Connection disconnect called on server

Declaration
RemoteConnectionClosed = 3

InvalidPacket

Server disconnected because sent packet was not allowed by server config

Declaration
InvalidPacket = 8

ServerFull

Server rejected connecting because it was full

Declaration
ServerFull = 4

ConnectingTimeout

Server did not reply

Declaration
ConnectingTimeout = 5

ConnectingCancel

Disconnect called locally before server replies with connected

Declaration
ConnectingCancel = 6

KeyInvalid

Key given with first message did not match the value on the server, See SocketLayer Config

Declaration
KeyInvalid = 9

HostModeStopped

Disconnect called when server was stopped in host mode

Declaration
HostModeStopped = 7