Modified a bit for Program.cs
This commit is contained in:
parent
77472f073f
commit
ad41099180
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user