#nullable disable
using System.Net;
namespace MediaBrowser.Model.Net
{
    /// 
    /// Used by the sockets wrapper to hold raw data received from a UDP socket.
    /// 
    public sealed class SocketReceiveResult
    {
        /// 
        /// Gets or sets the buffer to place received data into.
        /// 
        public byte[] Buffer { get; set; }
        /// 
        /// Gets or sets the number of bytes received.
        /// 
        public int ReceivedBytes { get; set; }
        /// 
        /// The  the data was received from.
        /// 
        public IPEndPoint RemoteEndPoint { get; set; }
        /// 
        /// The local .
        /// 
        public IPAddress LocalIPAddress { get; set; }
    }
}