both client and server have the System library in the project. code below:
called on client after connection:
connection.RegisterStaticPacketHandler(Testing2);
connection.Send(new Common_Packets.Test("Hello"));
called on server after connection:
Console.WriteLine($"{connectionType} Connection received {connection.IPRemoteEndPoint}.");
connection.RegisterStaticPacketHandler(Testing);
both client and server have the System library in the project. code below:
called on client after connection: connection.RegisterStaticPacketHandler(Testing2);
connection.Send(new Common_Packets.Test("Hello"));
called on server after connection: Console.WriteLine($"{connectionType} Connection received {connection.IPRemoteEndPoint}."); connection.RegisterStaticPacketHandler(Testing);
both have these as packets: