Index of /school/Computer Science/cs164/cs3/hold/
Name | Last Modified | Size |
---|---|---|
Parent Directory | ||
Discard.log | 2011-07-14 07:00 | 193k |
FileReceived | 2011-07-14 07:00 | 1k |
gbnrecv.cc | 2011-07-14 07:00 | 6k |
gbnrecv.h | 2011-07-14 07:00 | 2k |
gbnrecv.o | 2011-07-14 07:00 | 42k |
gbnsend.cc | 2011-07-14 07:00 | 8k |
gbnsend.h | 2011-07-14 07:00 | 2k |
gbnsend.o | 2011-07-14 07:00 | 205k |
Makefile | 2011-07-14 07:00 | 1k |
Received.log | 2011-07-14 07:00 | 1k |
receiver | 2011-07-14 07:00 | 54k |
receiver.cc | 2011-07-14 07:00 | 1k |
receiver.o | 2011-07-14 07:00 | 35k |
selectex | 2011-07-14 07:00 | 4k |
sendccbu.cc | 2011-07-14 07:00 | 7k |
sender | 2011-07-14 07:00 | 193k |
sender.cc | 2011-07-14 07:00 | 2k |
sender.o | 2011-07-14 07:00 | 82k |
Sent.log | 2011-07-14 07:00 | 1k |
test | 2011-07-14 07:00 | 1k |
Ryan Hoskin - XXX - 01- 3343 - Computer Science 164 - Assignment 3
This program simulated the GBN protocol by first parsing the input file into packets and generating packet #'s and the other required header information. After each packet is generated it is stored in an STL list which is used by the send class to send the packets to the receiver. The receiver checks for the correct order of packets and will send ACKS for whatever packet it is expecting. If the sender encounters an ACK that it not expecting it will have to resend the packt that the server is expecting along with the other packets that were sent after the packet that the server is expecting. the maximum number of packets that the sender will have to resend is the size of the window.
Proudly Served by LiteSpeed Web Server at ryanhoskin.com Port 443