aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Net/IAcceptSocket.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Net/IAcceptSocket.cs')
-rw-r--r--MediaBrowser.Model/Net/IAcceptSocket.cs27
1 files changed, 0 insertions, 27 deletions
diff --git a/MediaBrowser.Model/Net/IAcceptSocket.cs b/MediaBrowser.Model/Net/IAcceptSocket.cs
deleted file mode 100644
index 343e12ab6..000000000
--- a/MediaBrowser.Model/Net/IAcceptSocket.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-
-namespace MediaBrowser.Model.Net
-{
- public interface IAcceptSocket : IDisposable
- {
- bool DualMode { get; }
- IpEndPointInfo LocalEndPoint { get; }
- IpEndPointInfo RemoteEndPoint { get; }
- void Close();
- void Shutdown(bool both);
- void Listen(int backlog);
- void Bind(IpEndPointInfo endpoint);
- void Connect(IpEndPointInfo endPoint);
- }
-
- public class SocketCreateException : Exception
- {
- public SocketCreateException(string errorCode, Exception originalException)
- : base(errorCode, originalException)
- {
- ErrorCode = errorCode;
- }
-
- public string ErrorCode { get; private set; }
- }
-}