Skip to main content

Enum RejectReason

Reason for reject sent from server

Syntax​
public enum RejectReason

Fields​

None​

No reason given

Declaration​
None = 0

ServerFull​

Server is at max connections and will not accept a new connection until one disconnects

Declaration​
ServerFull = 1

Timeout​

Server did not reply to connection request

Declaration​
Timeout = 2

ClosedByPeer​

Closed called locally before connect

Declaration​
ClosedByPeer = 3

KeyInvalid​

Key given with first message did not match the value on the server

Declaration​
KeyInvalid = 4

InvalidUnconnectedPacket​

Send if is true

Declaration​
InvalidUnconnectedPacket = 5