svn://bits.cs.uic.edu/cs450f09/homeworks/hw4Your job is to change the template so that the following example execution always produces the correct result. In one terminal, you run the receiver in the following way, and it produces output as shown below.
./hw4_receiver 10080 > RECEIVED_FILE UR: Minimum delay for this run is 274 ms # later on, this happens... File received, exiting.In a separate terminal, you run the sender:
cat ORIGINAL_FILE | ./hw4_sender 127.0.0.1 10080 UR: Minimum delay for this run is 634 ms Sent 1020544 bytes in 25 seconds: 35 kB/s Estimated RTT: 1029 msFor this homework, you can only have a single outstanding packet at any time. If you send a second packet before the first one arrives at the destination, the first packet will get 'clobbered', so it is important that you get your timeouts and your acknowledgments right. A few things to pay attention to:
Copyright 2016 The Board of Trustees of the University of Illinois.webmaster@cs.uic.edu |
WISEST Helping Women Faculty Advance Funded by NSF | ![]() | ![]() |