public void NoLockSend(PacketBase packet) { var writer = new PacketWriter(); packet.Encode(writer); writer.Close(packet.PacketId); Socket.Send(writer.Buffer, writer.Pos, SocketFlags.None); }
public void NoLockSend(PacketBase packet) { var writer = new PacketWriter(); packet.Encode(writer); writer.Close(packet.PacketId); Socket.Send(writer.Buffer, writer.Pos, SocketFlags.None); }