diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2019-08-13 19:58:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-13 19:58:57 -0700 |
| commit | 8f8d8e3d0beaf71974b4584e9bd7ab2ad8e1683d (patch) | |
| tree | c8d4ecdfa75e6f4dc842ad3bec94041dc297e42b /MediaBrowser.Model | |
| parent | 29623d36e84bd35e5fdef91ddc6884658bf87e73 (diff) | |
| parent | a5cb069f26ed6f4f1842ceb984342a4ef9c98d08 (diff) | |
Merge pull request #1581 from Bond-009/socket1
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 - } } |
