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
{
///
/// 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 IPEndPoint RemoteEndPoint { get; set; }
public IPAddress LocalIPAddress { get; set; }
}
}