Framing refers to the process of dividing data streams into manageable units called frames. In the link-layer, framing allows for the categorization and organization of data before it gets transmitted over a network. Each frame includes necessary synchronization, and control information, providing structure to the data being sent.
Frames have two main components:
- Header: Contains control information such as source and destination addresses.
- Payload: The data being transported.
By using framing, the network can efficiently manage data, ensuring that each piece is identifiable and trackable. This helps in error detection, making the entire communication process smoother and more reliable.