docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct RelayConnectionData

    This is the encrypted data that the Relay server uses for describing a connection. Used mainly in the connection establishing process (Binding).

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Networking.Transport.Relay
    Assembly: solution.dll
    Syntax
    public struct RelayConnectionData

    Fields

    Name Description
    Value

    The raw data of the Connection Data

    k_Length

    The length in bytes of the Connection Data.

    Methods

    Name Description
    FromByteArray(byte[])

    Convert a byte array to a RelayConnectionData

    FromBytePointer(byte*, int)

    Converts a byte pointer to a RelayConnectionData.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)