its not working yet, its getting a System.OutOfMemoryException, needs to be fixed

This commit is contained in:
Lars
2020-10-20 23:52:10 +02:00
parent 3255ae885b
commit 2aeca40aa4
3 changed files with 68 additions and 44 deletions

View File

@@ -82,6 +82,7 @@ namespace Server.Models
// start reading for a new message
stream.BeginRead(buffer, 0, buffer.Length, new AsyncCallback(OnRead), null);
}
/// <summary>
@@ -123,6 +124,7 @@ namespace Server.Models
// lobby data
break;
case JSONConvert.CANVAS:
Debug.WriteLine("GOT A MESSAGE FROM THE CLIENT ABOUT THE CANVAS!!!");
// canvas data
// todo send canvas data to all other serverclients in lobby
break;