diff --git a/websocket-sharp/Net/EndPointManager.cs b/websocket-sharp/Net/EndPointManager.cs index 744e5dc1..dcdf9e42 100644 --- a/websocket-sharp/Net/EndPointManager.cs +++ b/websocket-sharp/Net/EndPointManager.cs @@ -92,37 +92,6 @@ namespace WebSocketSharp.Net epl.AddPrefix (pref, httpListener); } - private static EndPointListener getEndPointListener ( - IPAddress address, int port, bool secure, HttpListener httpListener) - { - Dictionary eps = null; - if (_ipToEndpoints.ContainsKey (address)) { - eps = _ipToEndpoints[address]; - } - else { - eps = new Dictionary (); - _ipToEndpoints[address] = eps; - } - - EndPointListener epl = null; - if (eps.ContainsKey (port)) { - epl = eps[port]; - } - else { - epl = new EndPointListener ( - address, - port, - secure, - httpListener.CertificateFolderPath, - httpListener.SslConfiguration, - httpListener.ReuseAddress); - - eps[port] = epl; - } - - return epl; - } - private static EndPointListener getEndPointListener ( string host, int port, HttpListener httpListener, bool secure) {