using System.Net;
using System.Net.Sockets;
namespace MediaBrowser.Model.Net;
/// 
/// Implemented by components that can create specific socket configurations.
/// 
public interface ISocketFactory
{
    /// 
    /// Creates a new unicast socket using the specified local port number.
    /// 
    /// The local port to bind to.
    /// A new unicast socket using the specified local port number.
    Socket CreateUdpBroadcastSocket(int localPort);
}