Enum StatusCode
Status code returned by many functions in the API.
Namespace: Unity.Networking.Transport.Error
Syntax
public enum StatusCode
Remarks
Any value less than 0 denotes a failure.
Fields
Name | Description | Value |
---|---|---|
NetworkSocketError | The underlying network socket has failed. |
-10 |
NetworkArgumentMismatch | Tried to create an IPCNetworkInterface on a non-loopback address. |
-9 |
NetworkSendHandleInvalid | Internal send handle is invalid. |
-8 |
NetworkDriverParallelForErr | Tried to process the same connection multiple times in a parallel job. |
-7 |
NetworkHeaderInvalid | A packet's header is invalid. |
-6 |
NetworkSendQueueFull | Network send queue is full. |
-5 |
NetworkPacketOverflow | Packet data is too large to handle. |
-4 |
NetworkStateMismatch | Invalid operation given connection's state. |
-3 |
NetworkVersionMismatch | Unknown connection (internal ID in use by newer connection). |
-2 |
NetworkIdMismatch | Unknown connection (internal ID doesn't exist). |
-1 |
Success | Success; no error encountered. |
0 |