UdpReceiveResult Constructor (array<Byte>^, IPEndPoint^)

.NET Framework (current version)
 

Initializes a new instance of the UdpReceiveResult class.

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

public:
UdpReceiveResult(
	array<unsigned char>^ buffer,
	IPEndPoint^ remoteEndPoint
)

Parameters

buffer
Type: array<System::Byte>^

A buffer for data to receive in the UDP packet.

remoteEndPoint
Type: System.Net::IPEndPoint^

The remote endpoint of the UDP packet.

.NET Framework
Available since 4.5
Return to top
Show: