InClassActivity27-sol - Activity #27 (Solution) 5/2/2003...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2003 Page 1 of 2 Activity #27 (Solution) 5/2/2003 2:56 PM Activity 27.1 (First Hour) 1. (10 Points). Suppose you are about to develop the following two network application programs, what transport protocols would you use? Explain your reasoning. - Application 1: A program that downloads images of Mars from the spacecraft that traveled to Mars. - Application 2: A program to watch real-time video of an NBA basketball match over the Internet. - TCP for Application 1, because images from Mars are very valuable and hard to obtain. So, a “reliable” service that guarantees no loss in the data. - UDP for Application 2, because data loss in a real-time video is not that important. Also, overhead will be less compared to TCP, and performance of the real-time video will be higher. 2. (10 points) What is the largest sequence number that a TCP segment could possibly have? What are the potential problem(s) with this limited number? We have 32 bits for specifying sequence numbers, so the largest sequence number can be 128K - 1. The potential problem is that transmission of very large files (or very large data) over a single TCP session (which frequently happens as we are downloading DVDs over the Internet) will reach to this number! In other words, transmission of very large files will require transmission of probably more than 128K - 1, which means the limit on the sequence numbers will be reached. To overcome this problem, sequence numbers are reset to zero (i.e. wrap around), when the limit is reached. 3. (15 points) Recall that the 4-tuple {Client IP Address, Client Port#, Server IP Address, Server Port#} uniquely
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

InClassActivity27-sol - Activity #27 (Solution) 5/2/2003...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online