SimpleSockets
SimpleSockets copied to clipboard
bug in NetCore.Console.Client when sending object
when running NetCore.Console.Client and connecting to NetCore.Console.Server there is a list of option of what to send to the server when an object by pressing O it sends the object but the server doesnt recognize the object as person but it recognize the object as : "Received an object of type = Newtonsoft.Json.Linq.JObject"
and the code in if (obj.GetType() == typeof(Person)) is always false since its not the type of person but as Newtonsoft.Json.Linq.JObject