Skip to main content

Unity.Networking.Transport.NetworkInterfaceEndPoint

Implements#

System.IEquatable\<NetworkInterfaceEndPoint>

Inherited Members#

Object.Equals(Object, Object)

Object.GetType()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public struct NetworkInterfaceEndPoint : IEquatable<NetworkInterfaceEndPoint>

data#

Raw representation of the interface endpoint.

Declaration#

public byte *data

Field Value#

TypeDescription
System.Byte*

dataLength#

Actual length of the interface endpoint's raw representation.

Declaration#

public int dataLength

Field Value#

TypeDescription
System.Int32

k_MaxLength#

Maximum length of the interface endpoint's raw representation.

Declaration#

public const int k_MaxLength = 56

Field Value#

TypeDescription
System.Int32

#

IsValid#

Whether the interface endpoint is valid or not.

Declaration#

public readonly bool IsValid { get; }

Property Value#

TypeDescription
System.Boolean

#

Equals(Object)#

Declaration#

public override bool Equals(object other)

Parameters#

TypeNameDescription
System.Objectother

Returns#

TypeDescription
System.Boolean

Overrides#

System.ValueType.Equals(System.Object)

Equals(NetworkInterfaceEndPoint)#

Declaration#

public bool Equals(NetworkInterfaceEndPoint other)

Parameters#

TypeNameDescription
NetworkInterfaceEndPointother

Returns#

TypeDescription
System.Boolean

GetHashCode()#

Declaration#

public override int GetHashCode()

Returns#

TypeDescription
System.Int32

Overrides#

System.ValueType.GetHashCode()

ToFixedString()#

Returns the NetworkInterfaceEndPoint as a .

Declaration#

public FixedString64Bytes ToFixedString()

Returns#

TypeDescription
FixedString64Bytes

ToString()#

Declaration#

public override string ToString()

Returns#

TypeDescription
System.String

Overrides#

System.ValueType.ToString()

#

Equality(NetworkInterfaceEndPoint, NetworkInterfaceEndPoint)#

Declaration#

public static bool operator ==(NetworkInterfaceEndPoint lhs, NetworkInterfaceEndPoint rhs)

Parameters#

TypeNameDescription
NetworkInterfaceEndPointlhs
NetworkInterfaceEndPointrhs

Returns#

TypeDescription
System.Boolean

Inequality(NetworkInterfaceEndPoint, NetworkInterfaceEndPoint)#

Declaration#

public static bool operator !=(NetworkInterfaceEndPoint lhs, NetworkInterfaceEndPoint rhs)

Parameters#

TypeNameDescription
NetworkInterfaceEndPointlhs
NetworkInterfaceEndPointrhs

Returns#

TypeDescription
System.Boolean

Implements#

System.IEquatable\<T>