simplify message parsing

This commit is contained in:
Luke Pulverenti
2015-03-08 14:49:51 -04:00
parent 5060cd3b82
commit 98992ca580
2 changed files with 14 additions and 13 deletions

View File

@@ -65,9 +65,10 @@ namespace MediaBrowser.Server.Implementations.HttpServer.SocketSharp
void socket_OnMessage(object sender, SocketHttpListener.MessageEventArgs e)
{
if (OnReceive != null)
if (OnReceiveBytes != null)
{
OnReceiveBytes(e.RawData);
//OnReceive(e.Data);
}
}