aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-08 15:06:15 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-08 15:06:15 -0400
commit55c47e50fc261849c277cb65654d91a8c5a8e308 (patch)
treebe896dd3acf361492e62f0a86fa5aab17db9903a /MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
parent98992ca580a3e921d57653161c7a27f2442e4dd3 (diff)
exclude httplistener from project
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs b/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
index 583b8809d..9faf2bc47 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs
@@ -65,10 +65,17 @@ namespace MediaBrowser.Server.Implementations.HttpServer.SocketSharp
void socket_OnMessage(object sender, SocketHttpListener.MessageEventArgs e)
{
+ //if (!string.IsNullOrWhiteSpace(e.Data))
+ //{
+ // if (OnReceive != null)
+ // {
+ // OnReceive(e.Data);
+ // }
+ // return;
+ //}
if (OnReceiveBytes != null)
{
OnReceiveBytes(e.RawData);
- //OnReceive(e.Data);
}
}