using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rssdp.Infrastructure
{
	/// 
	/// Used by the sockets wrapper to hold raw data received from a UDP socket.
	/// 
	public sealed class ReceivedUdpData
	{
		/// 
		/// The buffer to place received data into.
		/// 
		public byte[] Buffer { get; set; }
		/// 
		/// The number of bytes received.
		/// 
		public int ReceivedBytes { get; set; }
		/// 
		/// The  the data was received from.
		/// 
		public UdpEndPoint ReceivedFrom { get; set; }
	}
}