Fix for issue #6 - 1

This commit is contained in:
sta
2012-09-01 17:01:05 +09:00
parent 75417fba70
commit 3ef6d58f31
49 changed files with 151 additions and 83 deletions

Binary file not shown.

View File

@@ -7,13 +7,14 @@ namespace Example2
{
public static void Main(string[] args)
{
var wssv = new WebSocketServer<Echo>("ws://localhost:4649");
//var wssv = new WebSocketServer<Echo>("ws://localhost:4649");
//var wssv = new WebSocketServer<Chat>("ws://localhost:4649");
var wssv = new WebSocketServer<Echo>("/", 4649);
wssv.Start();
Console.WriteLine(
"WebSocket Server (url: {0}) listening on port: {1}\n",
wssv.Url, wssv.Port);
"WebSocket Server (url: {0})\n listening on address: {1} port: {2}\n",
wssv.Url, wssv.Address, wssv.Port);
Console.WriteLine("Press any key to stop server...");
Console.ReadLine();

Binary file not shown.

Binary file not shown.

Binary file not shown.