namespace MediaBrowser.Model.Net
{
    /// 
    /// Used by the sockets wrapper to hold raw data received from a UDP socket.
    /// 
    public sealed class SocketReceiveResult
	{
		/// 
		/// 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 IpEndPointInfo RemoteEndPoint { get; set; }
        public IpAddressInfo LocalIPAddress { get; set; }
    }
}