Documente Academic
Documente Profesional
Documente Cultură
Flow Control
Necessary when data is being sent faster than
it can be processed by receiver
Computer to printer is typical setting
Can also be from computer to computer,
when a processing program is limited in
capacity
Error Correction
Two types of errors
Lost frame
Damaged frame
Stop-and-Wait ARQ
One frame received and handled at a time
If frame is damaged, receiver discards it and sends no
acknowledgment
Sender uses timer to determine whether or not to retransmit
Sender must keep a copy of transmitted frame until
acknowledgment is received
Go-Back-N ARQ
Uses sliding-window flow control
When receiver detects error, it sends negative
acknowledgment (REJ)
Sender must begin transmitting again from
rejected frame
Transmitter must keep a copy of all transmitted
frames
HDLC Operation
Initialization: S-frames specify mode and
sequence numbers, U-frames acknowledge
Data Transfer: I-frames exchange user data, Sframes acknowledge and provide flow/error
control
Disconnect: U-frames initiate and acknowledge