Problem Statement
What is framing and why is it needed in the Data Link Layer?
Explanation
Framing is the process of dividing a stream of bits into manageable units called frames. Each frame carries synchronization information, addressing fields, and error-control bits. Without framing, the receiver cannot determine where one message ends and the next begins. Framing also helps in detecting transmission errors and ensures proper sequencing of data. Common techniques include byte count, flag bytes, and bit stuffing.