50 likes | 262 Views
application layer. transport layer. network & data link & physical layer. Thanks to Kai Shen ’ s Networking Course at the University of Rochester. Thanks to Kai Shen ’ s Networking Course at the University of Rochester. Sender. Receiver. Go-Back-N. send p0. 0 1 2 3 4 5 6 7 8 9.
E N D
application layer transport layer network & data link & physical layer Thanks to Kai Shen’s Networking Course at the University of Rochester.
Thanks to Kai Shen’s Networking Course at the University of Rochester.
Sender Receiver Go-Back-N send p0 0 1 2 3 4 5 6 7 8 9 recvp0-> send p1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 recvp1-> send p2 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 send p3 0 1 2 3 4 5 6 7 8 9 recvp3 -> 0 1 2 3 4 5 6 7 8 9 recvACK0 0 1 2 3 4 5 6 7 8 9 recvp4 -> 0 1 2 3 4 5 6 7 8 9 recvACK1 0 1 2 3 4 5 6 7 8 9 recvp5 -> p2 TIMEOUT 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 recvp2-> • for SENDER indicate: • WINDOW • WAIT • Any SENDs after ACKs • RESEND • for RECEIVER indicate: • WINDOW • ACKS sent • Segments DISCARDED 0 1 2 3 4 5 6 7 8 9 recvp3-> 0 1 2 3 4 5 6 7 8 9 Thanks to Kai Shen’s Networking Course at the University of Rochester.
Sender Receiver Selective Repeat send p0 Thanks to Kai Shen’s Networking Course at the University of Rochester. 0 1 2 3 4 5 6 7 8 9 recvp0 -> send p1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 recvp1-> send p2 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 send p3 0 1 2 3 4 5 6 7 8 9 recvp3-> 0 1 2 3 4 5 6 7 8 9 recvACK0 0 1 2 3 4 5 6 7 8 9 recvp4-> 0 1 2 3 4 5 6 7 8 9 recvACK1 0 1 2 3 4 5 6 7 8 9 recvp5-> p2 TIMEOUT 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 recvACK3 recvp2-> 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 • for SENDER indicate: • WINDOW • WAIT • SENDs after ACKs • RESEND • BUFFERED ACKs • for RECEIVER indicate: • WINDOW • ACKS sent • Segments BUFFERED