Q&A

Q1:Why are multiplexing and demultiplexing necessary?
A1: If TCP/IP did not provide multiplexing and demultiplexing, only one application could use the network software at a time, and only one computer could connect to a given application at a time.
Q2:Why would a software developer use UDP for a transport protocol when TCP offers better quality assurance?
A2: TCP's quality assurance comes at the price of slower performance. If the extra error control and flow control of TCP are not necessary, UDP is a better choice because it is faster.
Q3:Why do applications that support interactive sessions, such as Telnet and FTP, tend to use TCP rather than UDP?
A3: TCP's control and recovery features provide the reliable connection necessary for an interactive ...

Get Sams Teach Yourself TCP/IP in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.