UdpReceiveResult Constructor (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(
	byte[] buffer,
	IPEndPoint remoteEndPoint
)

Parameters

buffer
Type: 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: