docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum StatusCode

    Status codes that can be returned by many functions in the transport API.

    Namespace: Unity.Networking.Transport.Error
    Assembly: solution.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 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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023