|
|
|
@ -433,9 +433,11 @@ namespace WebSocketSharp.Net
|
|
|
|
|
|
|
|
|
|
|
|
if (prefs.ContainsKey (prefix)) {
|
|
|
|
if (prefs.ContainsKey (prefix)) {
|
|
|
|
if (prefs[prefix] != prefix.Listener) {
|
|
|
|
if (prefs[prefix] != prefix.Listener) {
|
|
|
|
throw new HttpListenerException (
|
|
|
|
var msg = String.Format (
|
|
|
|
87, String.Format ("There's another listener for {0}.", prefix)
|
|
|
|
"There is another listener for {0}.", prefix
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
throw new HttpListenerException (87, msg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|