Added the ReuseAddress property to the HttpServer class (Associated with pull request #73)
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user