Mirror Networking
TransportError.cs
1
// Mirror transport error code enum.
2
// most transport implementations should use a subset of this,
3
// and then translate the transport error codes to mirror error codes.
4
namespace
Mirror
5
{
6
public
enum
TransportError :
byte
7
{
8
DnsResolve,
// failed to resolve a host name
9
Refused,
// connection refused by other end. server full etc.
10
Timeout,
// ping timeout or dead link
11
Congestion,
// more messages than transport / network can process
12
InvalidReceive,
// recv invalid packet (possibly intentional attack)
13
InvalidSend,
// user tried to send invalid data
14
ConnectionClosed,
// connection closed voluntarily or lost involuntarily
15
Unexpected
// unexpected error / exception, requires fix.
16
}
17
}
Mirror
Definition:
Attributes.cs:5
Users
qwerty
x
dev
project_Mirror
Repository
Assets
Mirror
Runtime
TransportError.cs
Generated by
1.9.4