Compare connectionless (UDP) and connection-oriented (TCP) communication for the implementation of each of the following application-level or presentation-level protocols:
i) virtual terminal access (for example, Telnet);
ii) file transfer (for example, FTP);
iii) user location (for example, rwho, finger);
iv) information browsing (for example, HTTP);
v) remote procedure call.
i) The long duration of sessions, the need for reliability and the unstructured sequences of characters transmitted make connection-oriented communication most suitable for this application. Performance is not critical in this application, so the overheads are of little consequence.
ii) File calls for the transmission of large volumes of data. Connectionless would be ok if error rates are low and the messages can be large, but in the Internet, these requirements aren’t met, so TCP is used.
iii)Connectionless is preferable, since messages are short, and a single message is sufficient for each transaction.
iv)Either mode could be used. The volume of data transferred on each transaction can be quite large, so TCP is used in practice.
v) RPC achieves reliability by means of timeouts and re-trys. so connectionless (UDP) communication is often preferred.
You might also like to view...
This is a spoke-to-spoke network. In this secure VPN network, data between sites is exchanged between sites without requiring data traffic to pass through an organization's virtual private network.
What will be an ideal response?
To copy multiple files under Windows, select the first file name or icon in the usual way. Then hold down the __________ key while you select additional files.
a. control (Ctrl) b. shift c. Alt d. You cannot select multiple files under Windows
Which of the following types are not built into the C++ language:
a) bool b) real c) short d) int e) long f) double
Prolog allows you to ask open-ended questions by replacing constants with __________.?
A. ?parameters B. variables? C. ?functions D. ?rules