Added the ReuseAddress property to the HttpServer class (Associated with pull request #73)

This commit is contained in:
sta
2014-10-20 16:00:57 +09:00
parent 4cfdd7e793
commit 7a8967bdcd
5 changed files with 50 additions and 3 deletions

View File

@@ -72,6 +72,9 @@ namespace Example3
// Not to remove the inactive WebSocket sessions periodically.
//httpsv.KeepClean = false;
// To resolve to wait for socket in TIME_WAIT state.
//httpsv.ReuseAddress = true;
// Add the WebSocket services.
httpsv.AddWebSocketService<Echo> ("/Echo");
httpsv.AddWebSocketService<Chat> ("/Chat");