hw4 (3).pdf - UNIVERSITY OF CALIFORNIA DAVIS BERKELEY \u2022 DAVIS \u2022 IRVINE \u2022 LOS ANGELES \u2022 RIVERSIDE \u2022 SAN DIEGO \u2022 SAN FRANCISCO SANTA BARBARA

hw4 (3).pdf - UNIVERSITY OF CALIFORNIA DAVIS BERKELEY...

This preview shows page 1 - 2 out of 2 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 Winter 2019 Homework #4 (due March 1, 2019) 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? (c)(5 pt.) Why do HTTP, 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 the TextBook needed only one socket, whereas the TCP server needed two sockets. Why? If the TCP server were to support n simultaneous connections, each from a different client host, how many sockets would the TCP server need? (f)(5 pt.) How does SMTP mark the end of a message body? How about HTTP? Can HTTP use the same method as SMTP to mark the end of a message body? Explain.
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Fall '08
  • Ghosal,D
  • IP address, World Wide Web, Web server, Domain Name System

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture