Export (0) Print
Expand All

UdpReceiveResult Structure

.NET Framework 4.5

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>

The UdpReceiveResult type exposes the following members.

  NameDescription
Public methodUdpReceiveResultInitializes a new instance of the UdpReceiveResult class.
Top

  NameDescription
Public propertyBufferGets a buffer with the data received in the UDP packet.
Public propertyRemoteEndPointGets the remote endpoint from which the UDP packet was received.
Top

  NameDescription
Public methodEquals(Object)Returns a value that indicates whether this instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Public methodEquals(UdpReceiveResult)Returns a value that indicates whether this instance is equal to a specified object.
Public methodGetHashCodeReturns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public operatorStatic memberEqualityTests whether two specified UdpReceiveResult instances are equivalent.
Public operatorStatic memberInequalityTests whether two specified UdpReceiveResult instances are not equal.
Top

.NET Framework

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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