hw3 - b Why does UDP exist Would it not have been enough to...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 168 Computer Networks Jannotti Homework 3 Due: 12 April 2010, 4pm Problem 1 Section 6, problems 1, 6, 25 and 35. Problem 2 We have learned that TCP provides a “reliable” byte stream. Consider a simple client/server pair. The client has 1 kilobyte of data it wishes to send to the server. It calls connect , write , and close appropriately, and each returns without error. Explain how: a. The server might not receive the data. b. The server might receive corrupted data. You should assume this is the only TCP connection between the two hosts, ever. Problem 3 a. Why is it not sufficient to have all TCP connections start with an initial sequence number of zero?
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: b. Why does UDP exist? Would it not have been enough to just let user processes send raw IP Packets? c. Web servers are optimized to handle thousands of connections per second. How can there be more than one simultaneous connection to the server when the server is listening on only one port? d. Both UDP and TCP use port numbers to identify the destination entity when delivering a message. Give two reasons for why these protocols invented a new abstract ID (port numbers), instead of using process IDs, which already existed when these protocols were adapted....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern