3.1 Data Link Layer Design Issues
3.2 Error Detection and Correction
3.3 Elementary Data Link Protocols
3.4 Sliding Windows Protocols
3.5 Protocol Specification and Verification
3.6 Example Data Link Protocols
(五)測試數據:n=0
n=-1
n=2
a 1 2
a 2 3
a 3 4
d 3 5
n=2
a 1 5
a 2 10
d 1 15
a 3 20
a 4 25
a 5 30
d 2 35
d 4 40
e 0 0
(六)測試結果:error
error
沒付錢,沒停就走了
第一輛車付50元
第二輛車付125元
第三輛車沒出來
第四輛車付25元
第五輛車沒進入