Fix for issue #4

This commit is contained in:
sta
2012-08-19 16:41:59 +09:00
parent 0f0a05feb2
commit 0bea2dd623
48 changed files with 37 additions and 29 deletions
Binary file not shown.
+6 -2
View File
@@ -84,7 +84,10 @@ namespace Example
ws.OnMessage += (sender, e) =>
{
enNfMessage("[WebSocket] Message", e.Data, "notification-message-im");
if (!String.IsNullOrEmpty(e.Data))
{
enNfMessage("[WebSocket] Message", e.Data, "notification-message-im");
}
};
ws.OnError += (sender, e) =>
@@ -112,7 +115,8 @@ namespace Example
Console.Write("> ");
data = Console.ReadLine();
if (data == "exit" || !ws.IsConnected)
if (data == "exit")
//if (data == "exit" || !ws.IsConnected)
{
break;
}
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.