soln4.pdf - UNIVERSITY OF CALIFORNIA DAVIS BERKELEY DAVIS IRVINE LOS ANGELES RIVERSIDE SAN DIEGO SAN FRANCISCO SANTA BARBARA SANTA CRUZ EEC 173A\/ECS

soln4.pdf - UNIVERSITY OF CALIFORNIA DAVIS BERKELEY DAVIS...

This preview shows page 1 - 2 out of 5 pages.

UNIVERSITY OF CALIFORNIA, DAVIS _____________________________________________________________________________________ BERKELEY DAVIS IRVINE LOS ANGELES RIVERSIDE SAN DIEGO SAN FRANCISCO _____________________________________________________________________________________ ________________________________ SANTA BARBARA SANTA CRUZ ________________________________ EEC 173A/ECS 152A-Computer Networks Spring 2018 Solution for Homework #4 Total: 100 points 1.(30 points)Review Questions.(a)(5 pt.) What information is used by a process running on one host to identify a process running on another host? (b)(5 pt.) Suppose you wanted to do a transaction from a remote client to a server as fast as possible. Would you use UDP or TCP? Why? You would use UDP. With UDP, the transaction can be completed in one roundtrip time (c)(5 pt.) Why do HTTP, FTP, SMTP, and POP3 run on top of TCP rather than UDP? (d)(5 pt.) In BitTorrent, suppose Alice provides chunks to Bob throughout a 30-second interval. Will Bob necessarily return the favor and provide chunks to Alice in the same interval? Why or Why not? (e)(5 pt.) The UDP server described in Section 2.8 of the TextBook needed only one socket, whereas the TCP server describd in Section 2.7 needed two sockets. Why? If the TCP server were to support nsimultaneous connections, each from a different client host, how many sockets would the TCP server need?
Image of page 1
Image of page 2

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture