[Fix] Set system error code 87
This commit is contained in:
parent
40f1335412
commit
7609c9289f
@ -433,7 +433,7 @@ namespace WebSocketSharp.Net
|
|||||||
if (prefs.ContainsKey (prefix)) {
|
if (prefs.ContainsKey (prefix)) {
|
||||||
if (prefs[prefix] != listener)
|
if (prefs[prefix] != listener)
|
||||||
throw new HttpListenerException (
|
throw new HttpListenerException (
|
||||||
400, String.Format ("There's another listener for {0}.", prefix)); // TODO: Code?
|
87, String.Format ("There's another listener for {0}.", prefix));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user