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.
What will be an ideal response?
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...
If a subscript is valid, it is said to be in ____.
A. order B. value C. index D. range
All type parameters defined in a function template must appear at least once in the
a. function parameter list b. preprocessor directives c. function call d. type.h file e. None of these