Unified the ways of message thread in WebSocket.cs

This commit is contained in:
sta
2012-09-20 21:45:55 +09:00
parent 8868761635
commit ab86ce8af8
23 changed files with 16 additions and 40 deletions

Binary file not shown.

View File

@@ -73,9 +73,9 @@ namespace Example
ThreadPool.QueueUserWorkItem(notifyMsg);
//using (WebSocket ws = new WebSocket("ws://echo.websocket.org", "echo"))
using (WebSocket ws = new WebSocket("ws://echo.websocket.org", "echo"))
//using (WebSocket ws = new WebSocket("wss://echo.websocket.org", "echo"))
using (WebSocket ws = new WebSocket("ws://localhost:4649"))
//using (WebSocket ws = new WebSocket("ws://localhost:4649"))
{
ws.OnOpen += (sender, e) =>
{

Binary file not shown.