Which of the following accurately describes the differences between TCP and UDP in the Transport layer of the TCP/IP model?

4 phương ánCó giải thích

Các phương án trả lời

Chọn một phương án
Lời giảiChọn phương án để mở
Đáp án đúng: "TCP provides error recovery, congestion control, and flow control, while UDP provides none of these features". Giao thức hướng kết nối của tầng vận tải thiết lập kết nối trước khi truyền, đánh số thứ tự từng byte, chờ báo nhận, truyền lại khi mất, đồng thời điều tiết tốc độ theo sức bên nhận và mức tắc nghẽn của mạng; giao thức còn lại chỉ bọc dữ liệu vào một datagram rồi gửi, không có các cơ chế đó nên nhanh hơn. Mục "UDP is connection-oriented and ensures data reliability, while TCP is connectionless and faster" đảo vai trò của hai giao thức. Mục "Both TCP and UDP are connection-oriented protocols but differ in flow control mechanisms" sai vì giao thức nhẹ không thiết lập kết nối nào. Mục "TCP is primarily used for real-time communication, while UDP is used for file transfers" cũng ngược: truyền tệp cần đúng từng byte nên dùng loại tin cậy, còn thoại và video trực tiếp chịu được mất gói nhưng không chịu được chờ.

Cùng phần 7

Xuất hiện trong 1 bộ đề