> For the complete documentation index, see [llms.txt](https://http3-explained.haxx.se/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://http3-explained.haxx.se/fa/quic/quic-spinbit.md).

# بیت چرخشی

احتمالاً یکی از طولانی‌ترین بحث‌های طراحی در بین کارگروه QUIC که موضوع چند صد پیغام و ساعت‌ها مناظره بوده است مربوط به تنها یک بیت است: بیتِ چرخش (spin bit).

حامیان این بیت به نیازِ وجود امکان اندازه‌گیری تأخیر برای اپراتورها و مردمی که در مسیرِ میان دو پایانه‌ی QUIC هستند پافشاری می‌کنند.

مخالفان این ویژگی علاقه‌ای به فاش شدن احتمالی اطلاعات ندارند.

## چرخاندن یک بیت

هر دو پایانه‌ها، کارخواه و کارگزار، برای هر اتصالِ QUIC یک مقدار چرخش (spin) را حفظ می‌کنند، ۰ یا ۱، و آن بیت چرخش را روی بسته‌هایی که برای آن اتصال ارسال می‌کنند به مقدار مناسب معین می‌کنند.

سپس هردو طرف بسته‌ها را با آن بیت چرخش در طرل یک round trip با مقداری یکسان ارسال می‌کنند و پس از آن، مقدار را تغییر می‌دهند. سپس نتیجه ضربانی از صفر و یک‌ها در آن بخش بیت است که ناظران می‌توانند مشاهده کنند.

این اندازه‌گیری تنها هنگامی کار می‌کند که ارسال‌کننده محدود به نرم‌فزار یا کنترل جریان نباشد و همچنین سازمان‌دهی مجدد بسته‌ها برروی شبکه می‌تواند داده را اغوا کند.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://http3-explained.haxx.se/fa/quic/quic-spinbit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
