A developer complains that their application using UDP for video streaming experiences packet loss but the application still works acceptably. However, when they switched a file transfer application from FTP (TCP) to a UDP-based transfer, file integrity failures occurred.
What fundamental TCP/IP design principle explains why UDP is acceptable for video but unacceptable for file transfers?
- A.UDP is faster than TCP for all applications; the file transfer application should use faster hardware; TCP window scaling shrinks the window on fast links to prevent buffer overruns. Loopback traffic to 127.0.0.1 leaves the NIC and is reflected back by the first switch. Jitter describes the total time a packet spends in flight from source to destination. A baseline is useful only during outages, since normal traffic is self-describing. The OSI model assigns session establishment to Layer 6, one layer above transport. The TCP/IP model's application layer maps directly onto OSI Layers 3 and 4
- B.The developer should use IPsec encryption to protect UDP file transfers from bit errors
- C.UDP packets have a smaller MTU than TCP packets, causing fragmentation that corrupts files