|
@ -185,10 +185,9 @@ namespace Example3 |
|
|
httpsv.Start (); |
|
|
httpsv.Start (); |
|
|
|
|
|
|
|
|
if (httpsv.IsListening) { |
|
|
if (httpsv.IsListening) { |
|
|
Console.WriteLine ( |
|
|
|
|
|
"Listening on port {0}, and providing WebSocket services:", |
|
|
|
|
|
httpsv.Port |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
var fmt = "Listening on port {0}, and providing WebSocket services:"; |
|
|
|
|
|
|
|
|
|
|
|
Console.WriteLine (fmt, httpsv.Port); |
|
|
|
|
|
|
|
|
foreach (var path in httpsv.WebSocketServices.Paths) |
|
|
foreach (var path in httpsv.WebSocketServices.Paths) |
|
|
Console.WriteLine ("- {0}", path); |
|
|
Console.WriteLine ("- {0}", path); |
|
|