YingLe - Data Communication and Distributed Processes...

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

View Full Document Right Arrow Icon
Data Communication and Distributed Processes Homework 2 Chapter 2 Page 160 Review Questions: 7. TCP, Transmission Control Protocol, provides connection-oriented service and reliable data transfer service, which best match the needs of HTTP, FTP, SMTP, POP3 and IMAP. Especially the reliable data transfer service, which guarantees to deliver all data without error and in the proper order, is the most important service to HTTP, FTP, SMTP, POP3 and IMAP. Because whether Web document transfer, file transfer, or electronic mail transfer, they all require fully reliable data transfer, that is, no data loss. While UDP provides an unreliable data transfer service, that is, it provides no guarantee that the message will ever reach the receiving socket, and even messages that do arrive to the receiving socket may arrive out of order, which is not good for HTTP, FTP, SMTP, POP3 and IMAP. So all of them prefer to run on top of TCP rather than UDP. 21. Because TCP provides connection-oriented service, that is, it has the client and server exchange transport-layer control information with each other before the application-level message begin to flow. In this case, the client has the job of initiating contact with the server. In order for the server to be able to react to the client’s initial contact, the server has to be ready, that means, the server program cannot be dormant, it must be running as a process before the client attempts
Background image of page 1

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

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

{[ snackBarMessage ]}

Page1 / 4

YingLe - Data Communication and Distributed Processes...

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