In rdt2.1, what is the 0 and 1 states in ACK/NAK
- User
In rdt2.1, what is the 0 and 1 states in ACK/NAK
- Assistant
In rdt2.1 (the “alternating‐bit” protocol with NAKs), every ACK or NAK carries a 1‑bit sequence number—either 0 or 1. That bit serves two purposes:
- It tells the sender exactly which packet you’re acknowledging (or requesting to be retransmitted).
- It lets both sender and receiver distinguish a brand‐new packet from a late (duplicate) one.
Conceptually, both sender and receiver are finite‑state machines that alternate between two states:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.