diff --git a/Example2/Program.cs b/Example2/Program.cs index 12a0106f..9c608ccd 100644 --- a/Example2/Program.cs +++ b/Example2/Program.cs @@ -13,13 +13,15 @@ namespace Example2 { /* Create a new instance of the WebSocketServer class. * - * If you would like to provide the secure connection, you should create the instance - * with the 'secure' parameter set to true, or the wss scheme WebSocket URL. + * If you would like to provide the secure connection, you should create the instance with + * the 'secure' parameter set to true, or the wss scheme WebSocket URL. */ var wssv = new WebSocketServer (4649); - //var wssv = new WebSocketServer (4649, true); + //var wssv = new WebSocketServer (5963, true); + //var wssv = new WebSocketServer (System.Net.IPAddress.Parse ("127.0.0.1"), 4649); + //var wssv = new WebSocketServer (System.Net.IPAddress.Parse ("127.0.0.1"), 5963, true); //var wssv = new WebSocketServer ("ws://localhost:4649"); - //var wssv = new WebSocketServer ("wss://localhost:4649"); + //var wssv = new WebSocketServer ("wss://localhost:5963"); #if DEBUG // To change the logging level. wssv.Log.Level = LogLevel.Trace;