0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-14 23:55:07 +00:00
SmoOnlineServer/TestClient/Program.cs
2021-11-28 22:32:29 -06:00

16 lines
No EOL
401 B
C#

using System.Net.Sockets;
using System.Runtime.InteropServices;
using Shared;
using Shared.Packet;
using Shared.Packet.Packets;
TcpClient client = new TcpClient("127.0.0.1", 1027);
Guid ownId = new Guid();
Logger logger = new Logger("Client");
NetworkStream stream = client.GetStream();
// void WritePacket(Span<byte> data, IPacket packet) {
// MemoryMarshal.Write();
// }
// stream.Write();