From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- MediaBrowser.Model/Net/ISocketFactory.cs | 51 -------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 MediaBrowser.Model/Net/ISocketFactory.cs (limited to 'MediaBrowser.Model/Net/ISocketFactory.cs') diff --git a/MediaBrowser.Model/Net/ISocketFactory.cs b/MediaBrowser.Model/Net/ISocketFactory.cs deleted file mode 100644 index bf2424660..000000000 --- a/MediaBrowser.Model/Net/ISocketFactory.cs +++ /dev/null @@ -1,51 +0,0 @@ - -using System.IO; - -namespace MediaBrowser.Model.Net -{ - /// - /// Implemented by components that can create a platform specific UDP socket implementation, and wrap it in the cross platform interface. - /// - public interface ISocketFactory - { - - /// - /// Createa a new unicast socket using the specified local port number. - /// - /// The local port to bind to. - /// A implementation. - ISocket CreateUdpSocket(int localPort); - - ISocket CreateUdpBroadcastSocket(int localPort); - - ISocket CreateTcpSocket(IpAddressInfo remoteAddress, int remotePort); - - /// - /// Createa a new unicast socket using the specified local port number. - /// - ISocket CreateSsdpUdpSocket(IpAddressInfo localIp, int localPort); - - /// - /// Createa a new multicast socket using the specified multicast IP address, multicast time to live and local port. - /// - /// The multicast IP address to bind to. - /// The multicast time to live value. Actually a maximum number of network hops for UDP packets. - /// The local port to bind to. - /// A implementation. - ISocket CreateUdpMulticastSocket(string ipAddress, int multicastTimeToLive, int localPort); - - IAcceptSocket CreateSocket(IpAddressFamily family, SocketType socketType, ProtocolType protocolType, bool dualMode); - - Stream CreateNetworkStream(ISocket socket, bool ownsSocket); - } - - public enum SocketType - { - Stream - } - - public enum ProtocolType - { - Tcp - } -} -- cgit v1.2.3