Enum StatusCode
Status codes that can be returned by many functions in the transport API.
Namespace: Unity.Networking.Transport.Error
Assembly: Unity.Networking.Transport.dll
Syntax
public enum StatusCode
Fields
| Name | Description |
|---|---|
| NetworkArgumentMismatch | Obsolete. Will never be returned. |
| NetworkDriverParallelForErr | Attempted to process the same connection in different jobs. |
| NetworkHeaderInvalid | Obsolete. Will never be returned. |
| NetworkIdMismatch | Connection is invalid. |
| NetworkPacketOverflow | Packet is too large for the supported capacity. |
| NetworkReceiveQueueFull | A message couldn't be received because the receive queue is full. This can only be returned through ReceiveErrorCode. |
| NetworkSendHandleInvalid | The Unity.Collections.DataStreamWriter is invalid. |
| NetworkSendQueueFull | Packet couldn't be sent because the send queue is full. |
| NetworkSocketError | There was an error from the underlying low-level socket. |
| NetworkStateMismatch | State of the connection is invalid for the operation requested. This is usually caused by an attempt to send on a connecting/closed connection. |
| NetworkVersionMismatch | Connection is invalid. This is usually caused by an attempt to use a connection that has been already closed. |
| Success | Operation completed successfully. |