[Fix] Set system error code 87

This commit is contained in:
sta 2016-06-04 16:32:29 +09:00
parent 40f1335412
commit 7609c9289f

View File

@ -433,7 +433,7 @@ namespace WebSocketSharp.Net
if (prefs.ContainsKey (prefix)) {
if (prefs[prefix] != listener)
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;
}