From ad41099180d551755ccbf9567cf2f4bd74e601a1 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 15 Jul 2015 17:38:06 +0900 Subject: [PATCH] Modified a bit for Program.cs --- Example2/Program.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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;