Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Byte count framing method

We had seen in previous article framing, that to send packets from sender to the receiver framing is required. But the question was how the receiver will identify the starting and ending of a frame. For receiver, starting and ending of a frame is necessary to recognize the next frames transmitted by the sender.

So in this case Byte count framing method will support.
The byte count framing method uses a field in the header to specify the number of bytes in the frame.

  1. Data link layer at sender sends the byte count.
  2. Data link layer at receiver counts the byte count.send by sender.
  3. If there is difference between  bytes counts of sender and receiver. There is error in data received.
  4. Else received data is correct.
  5. Above points are shown in diagram below.