Fixed WebSocketService

This commit is contained in:
sta
2012-08-08 11:10:02 +09:00
parent 42461dfc52
commit 64d12eb5cf
51 changed files with 112 additions and 66 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ namespace Example2
{
protected override void onMessage(object sender, MessageEventArgs e)
{
Server.Send(e.Data);
Publish(e.Data);
}
}
}
Binary file not shown.
+2 -2
View File
@@ -1,5 +1,4 @@
using System;
using System.Threading;
using WebSocketSharp.Server;
namespace Example2
@@ -13,7 +12,8 @@ namespace Example2
wssv.Start();
Console.WriteLine(
"WebSocket Server ({0}) listening on address: {1} port: {2}\n", wssv.Url, wssv.Address, 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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.