UdpReceiveResult Structure

.NET Framework (current version)
 

Presents UDP receive result information from a call to the ReceiveAsync method.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public struct UdpReceiveResult : IEquatable<UdpReceiveResult>

NameDescription
System_CAPS_pubmethodUdpReceiveResult(Byte[], IPEndPoint)

Initializes a new instance of the UdpReceiveResult class.

NameDescription
System_CAPS_pubpropertyBuffer

Gets a buffer with the data received in the UDP packet.

System_CAPS_pubpropertyRemoteEndPoint

Gets the remote endpoint from which the UDP packet was received.

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether this instance is equal to a specified object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(UdpReceiveResult)

Returns a value that indicates whether this instance is equal to a specified object.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(UdpReceiveResult, UdpReceiveResult)

Tests whether two specified UdpReceiveResult instances are equivalent.

System_CAPS_puboperatorSystem_CAPS_staticInequality(UdpReceiveResult, UdpReceiveResult)

Tests whether two specified UdpReceiveResult instances are not equal.

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: