UdpReceiveResult(Byte[], IPEndPoint) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.