diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-07-29 15:26:17 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-08-09 22:38:31 +0200 |
| commit | 1cad93c276fef512d6d4731d32704e05433aed01 (patch) | |
| tree | ce1cfdc95602162d037a8bfeed7dd8b335e743ee /MediaBrowser.Model | |
| parent | 779f0c637f4c280561029535a5b2160f34813b53 (diff) | |
Use System.Net abstractions instead of raw socket
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/Net/ISocketFactory.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/MediaBrowser.Model/Net/ISocketFactory.cs b/MediaBrowser.Model/Net/ISocketFactory.cs index e58f4cc14..2f857f1af 100644 --- a/MediaBrowser.Model/Net/ISocketFactory.cs +++ b/MediaBrowser.Model/Net/ISocketFactory.cs @@ -17,8 +17,6 @@ namespace MediaBrowser.Model.Net ISocket CreateUdpBroadcastSocket(int localPort); - ISocket CreateTcpSocket(IPAddress remoteAddress, int remotePort); - /// <summary> /// Creates a new unicast socket using the specified local port number. /// </summary> @@ -35,14 +33,4 @@ namespace MediaBrowser.Model.Net Stream CreateNetworkStream(ISocket socket, bool ownsSocket); } - - public enum SocketType - { - Stream - } - - public enum ProtocolType - { - Tcp - } } |
