Beispiel #1
0
        public void NoLockSend(PacketBase packet)
        {
            var writer = new PacketWriter();

            packet.Encode(writer);
            writer.Close(packet.PacketId);
            Socket.Send(writer.Buffer, writer.Pos, SocketFlags.None);
        }