Bewerken

Share via


UdpReceiveResult(Byte[], IPEndPoint) Constructor

Definition

Initializes a new instance of the UdpReceiveResult class.

public:
 UdpReceiveResult(cli::array <System::Byte> ^ buffer, System::Net::IPEndPoint ^ remoteEndPoint);
public UdpReceiveResult (byte[] buffer, System.Net.IPEndPoint remoteEndPoint);
new System.Net.Sockets.UdpReceiveResult : byte[] * System.Net.IPEndPoint -> System.Net.Sockets.UdpReceiveResult
Public Sub New (buffer As Byte(), remoteEndPoint As IPEndPoint)

Parameters

buffer
Byte[]

A buffer for data to receive in the UDP packet.

remoteEndPoint
IPEndPoint

The remote endpoint of the UDP packet.

Applies to