private void LoginFailure(string message) { Packet disconnectPacket = PacketWriter.MakeDisconnectPacket(message); writer.Write(disconnectPacket.data); writer.Flush(); }