Q&A

Q.Why are multiplexing and demultiplexing necessary?
A.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.
Q.Why would a software developer use UDP for a transport protocol when TCP offers better quality assurance?
A.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.
Q.Why do applications that support interactive sessions, such as Telnet and FTP, tend to use TCP rather than UDP?
A.TCP’s control and recovery features provide the reliable connection necessary for an interactive ...

Get Sams Teach Yourself TCP/IP in 24 Hours, Fourth 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.