docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NetworkInterfaceEndPoint

    Representation of an endpoint, to be used internally by INetworkInterface.

    Implements
    IEquatable<NetworkInterfaceEndPoint>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Networking.Transport
    Assembly: solution.dll
    Syntax
    public struct NetworkInterfaceEndPoint : IEquatable<NetworkInterfaceEndPoint>

    Fields

    Name Description
    data

    Raw representation of the interface endpoint.

    dataLength

    Actual length of the interface endpoint's raw representation.

    k_MaxLength

    Maximum length of the interface endpoint's raw representation.

    Properties

    Name Description
    IsValid

    Whether the interface endpoint is valid or not.

    Methods

    Name Description
    Equals(object)

    Indicates whether this instance and a specified object are equal.

    Equals(NetworkInterfaceEndPoint)

    Indicates whether the current object is equal to another object of the same type.

    GetHashCode()

    Returns the hash code for this instance.

    ToFixedString()

    Returns the NetworkInterfaceEndPoint as a FixedString64Bytes.

    ToString()

    Returns the NetworkInterfaceEndPoint as a string.

    Operators

    Name Description
    operator ==(NetworkInterfaceEndPoint, NetworkInterfaceEndPoint)
    operator !=(NetworkInterfaceEndPoint, NetworkInterfaceEndPoint)
    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)