Network Fundamentals

A sensor sends short status updates and can tolerate occasional loss. To minimize transport-layer header overhead, which protocol and minimum header size should it use?

Show the answer

Correct answerB. UDP with an 8-byte header

AWhy not this: TCP's minimum header is 20 bytes, not 8 bytes.

BWhy this is right: UDP's 8-byte header provides less transport-layer overhead than TCP's minimum 20-byte header.

CWhy not this: TCP's minimum header is 20 bytes, but that adds more overhead than UDP requires.

DWhy not this: UDP has a fixed 8-byte header; 20 bytes is TCP's minimum header size.

UDP has an 8-byte header, making it suitable when minimizing overhead matters more than reliable delivery. TCP's minimum header is 20 bytes, so it adds more overhead to each short update.