diff --git a/websocket-sharp/Net/EndPointListener.cs b/websocket-sharp/Net/EndPointListener.cs index 8b49852b..60168341 100644 --- a/websocket-sharp/Net/EndPointListener.cs +++ b/websocket-sharp/Net/EndPointListener.cs @@ -156,7 +156,7 @@ namespace WebSocketSharp.Net var path = prefix.Path; foreach (var pref in prefixes) if (pref.Path == path) - throw new HttpListenerException (400, "The prefix is already in use."); // TODO: Code? + throw new HttpListenerException (87, "The prefix is already in use."); prefixes.Add (prefix); }