docs.unity3d.com
    Show / Hide Table of Contents

    Struct NetworkInterfaceEndPoint

    Namespace: Unity.Networking.Transport
    Syntax
    public struct NetworkInterfaceEndPoint : IEquatable<NetworkInterfaceEndPoint>

    Fields

    data

    Raw representation of the interface endpoint.

    Declaration
    public byte *data
    Field Value
    Type Description
    Byte*

    dataLength

    Actual length of the interface endpoint's raw representation.

    Declaration
    public int dataLength
    Field Value
    Type Description
    Int32

    k_MaxLength

    Maximum length of the interface endpoint's raw representation.

    Declaration
    public const int k_MaxLength = null
    Field Value
    Type Description
    Int32

    Properties

    IsValid

    Whether the interface endpoint is valid or not.

    Declaration
    public readonly bool IsValid { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    Object other
    Returns
    Type Description
    Boolean

    Equals(NetworkInterfaceEndPoint)

    Declaration
    public bool Equals(NetworkInterfaceEndPoint other)
    Parameters
    Type Name Description
    NetworkInterfaceEndPoint other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    ToFixedString()

    Returns the NetworkInterfaceEndPoint as a .

    Declaration
    public FixedString64Bytes ToFixedString()
    Returns
    Type Description
    FixedString64Bytes

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Operators

    Equality(NetworkInterfaceEndPoint, NetworkInterfaceEndPoint)

    Declaration
    public static bool operator ==(NetworkInterfaceEndPoint lhs, NetworkInterfaceEndPoint rhs)
    Parameters
    Type Name Description
    NetworkInterfaceEndPoint lhs
    NetworkInterfaceEndPoint rhs
    Returns
    Type Description
    Boolean

    Inequality(NetworkInterfaceEndPoint, NetworkInterfaceEndPoint)

    Declaration
    public static bool operator !=(NetworkInterfaceEndPoint lhs, NetworkInterfaceEndPoint rhs)
    Parameters
    Type Name Description
    NetworkInterfaceEndPoint lhs
    NetworkInterfaceEndPoint rhs
    Returns
    Type Description
    Boolean
    Back to top
    Terms of use
    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