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